tldr/pages/common/httping.md

20 lines
413 B
Markdown
Raw Normal View History

2019-02-10 23:06:43 +03:00
# httping
> Measure the latency and throughput of a web server.
- Ping the specified url:
2019-02-10 23:06:43 +03:00
`httping -g {{url}}`
2019-02-10 23:06:43 +03: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}}`