|
http-ping is a small, free, easy-to-use Windows command line utility that probes a given URL and displays relevant statistics.
It is similar to the popular ping utility,
but works over HTTP/S instead of ICMP, and with a URL instead of a computer name/IP address.
Use it to:
- Discover if a web site is responding to requests;
- Test the performance of any web site;
- Load-test a web server.
http-ping's simplicity makes it the ideal choice for use in scripts that must detect if a web server
is available and serving pages.
Here is the result of http-ping probing the yahoo web site at a DOS prompt:
For each request, http-ping displays:
-
The HTTP return code (and its brief textual description)
-
The number of bytes returned by the server (excluding headers)
-
The time taken to complete the request (i.e. round-trip time)
A summary of all the requests is presented upon completion.
Download (Version 3.2.8.15, May 6 2009; http-ping.exe, 405 KB)
Watch a short demo of http-ping (about 30 seconds long)
View the Version history (Text, 1 KB)
Usage & Command-Line Options
System Requirements
Free Software License Agreement (PDF, 5 KB)
top
http-ping offers a rich set of command line options which can be seen by running "http-ping.exe /?" from a DOS prompt:
http-ping [-t] [-n count] [-i interval] [-f file-name] [-s] [-v]
[-q] [-c] [-r] [-w timeout] URL
Options:
-t Ping the specified URL until stopped.
To see statistics and continue - type Control-Break;
To stop - type Control-C.
-n count Send 'count' requests. Supercedes -t.
-i interval Wait 'interval' seconds between each request. There is a
1-second wait if this option is not specified.
-f file-name Save responses to file 'file-name'. Please specify the full
path, and use quotes around file names with spaces.
-s Silent. Print no output.
-v Verbose. Print detailed output. Supercedes -s.
-q Quick. Perform HTTP HEAD requests instead of GETs. This will
retrieve headers only, and bytes reported will be 0.
-c Perform a full connection on each request; ignore keep-alive.
-r Follow HTTP redirects.
-w timeout Wait 'timeout' seconds for a response before timing out.
Specify 0 to avoid timing out.
If not specified, the default timeout is 30 seconds.
Upon completion, the exit code is the percentage of requests that succeeded. In a DOS batch file, you can access that exit code via the ERRORLEVEL variable
(as seen here in this sample batch file used with another of our products, AlwaysUp).
top
- A Pentium-compatible PC.
- Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, or Windows 2000.
Windows NT, 95, 98, or Me are not supported.
- Less than 1 MB free hard drive space for the executable.
top
|