Skip to content

Runs curl in a loop to help measure transient connectivity issues.

License

Notifications You must be signed in to change notification settings

SpencerAP/http-test-loop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

HTTP Test Loop

Experiencing an itermittent connectivity or routing issue? Curious about the frequency or pattern of that issue? HTTP Test Loop runs curl in a loop, attempting to hit a given URL every 10 seconds, and recording either "fine" or "TIMEOUT". The log file can be eyeballed or parsed programmatically to gain perspective on the issue.

Should work for both macOS & Linux.

CLI (Terminal) Instructions

  1. Place the http-test-loop script on your desktop
  2. Edit it to set the URL you'd like to test
  3. Change working directory to your Desktop ($ cd ~/Desktop)
  4. Mod executable ($ chmod +x ./http-test-loop}
  5. Run it! ($ ./https-ps-test)

The script will begin logging successes/failures to the log file until you tell it to stop (Ctrl-C). The log file will be placed in the user's home directory.

About

Runs curl in a loop to help measure transient connectivity issues.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages