Skip to content

Measure the latency of a webserver with httping

Httping is like ‘ping’ but for http-requests.

Give it an url, and it’ll show you how long it takes to connect, send a request and retrieve the reply (only the headers). Be aware that the transmission across the network also takes time! So it measures the latency of the webserver + network.

Installing on Debian:

apt-get install httping

Quick test:

ns:~$ httping https://www.facebook.com/ -s
PING www.facebook.com:443 (https://www.facebook.com/):
connected to 31.13.92.36:443 (740 bytes), seq=0 time=168.18 ms 200 OK
connected to 31.13.93.36:443 (740 bytes), seq=1 time=160.72 ms 200 OK
connected to 31.13.93.36:443 (740 bytes), seq=2 time=154.73 ms 200 OK
connected to 31.13.92.36:443 (740 bytes), seq=3 time=149.91 ms 200 OK
connected to 31.13.93.36:443 (740 bytes), seq=4 time=152.04 ms 200 OK

httping website: http://www.vanheusden.com/httping/

Published inBenchmarksFreeBSDLinuxMacOS