check endpoint
1.0.0
此命令行應用程序是內置的,旨在將信息從指定的端點收集到.txt文件中,並將信息保存到日誌文件中。
用戶可以輸入一個或多個URL(端點),並在每個請求之間定義所需的測試數和時間。該應用將HTTP請求發送到端點,記錄響應時間,HTTP狀態代碼和日誌文件中的響應主體內容。最後,介紹了包含每個端點的響應時間平均值的信息以及請求的成功率。
Linux
./check-endpoint run --file urls.txt --repeat 10 --interval 800
./check-endpoint run
--file (-f) <File containing list of URLs>
--repeat (-r) <Number of repetitions>
--interval (-i) <Time interval between requests (in milliseconds)>

MacOs
./check-endpoint.app run --file urls.txt --repeat 10 --interval 800
./check-endpoint.app run
--file (-f) <File containing list of URLs>
--repeat (-r) <Number of repetitions>
--interval (-i) <Time interval between requests (in milliseconds)>

Windows
.check-endpoint.exe run --file urls.txt --repeat 10 --interval 800
.check-endpoint.exe run
--file (-f) <File containing list of URLs>
--repeat (-r) <Number of repetitions>
--interval (-i) <Time interval between requests (in milliseconds)>

避免放置不正確的URL(沒有http://或https://),並在URL之間或下一個URL之間留出空白線。

將在執行命令的存儲庫中創建包含日誌的文件(check_endpoint.log)。

_ readme.md_j的端