2019-02-11 04:06:43 +08:00
|
|
|
# httping
|
|
|
|
|
|
|
|
> Measure the latency and throughput of a web server.
|
2021-07-02 21:22:57 +02:00
|
|
|
> More information: <https://manned.org/httping>.
|
2019-02-11 04:06:43 +08:00
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Ping the specified URL:
|
2019-02-11 04:06:43 +08:00
|
|
|
|
2019-02-11 14:50:03 +08:00
|
|
|
`httping -g {{url}}`
|
2019-02-11 04:06:43 +08:00
|
|
|
|
|
|
|
- Ping the web server on `host` and `port`:
|
|
|
|
|
|
|
|
`httping -h {{host}} -p {{port}}`
|
|
|
|
|
|
|
|
- Ping the web server on `host` using a TLS connection:
|
|
|
|
|
|
|
|
`httping -l -g https://{{host}}`
|
|
|
|
|
|
|
|
- Ping the web server on `host` using HTTP basic authentication:
|
|
|
|
|
|
|
|
`httping -g http://{{host}} -U {{username}} -P {{password}}`
|