Httpd – How to test keep-alive is working on client end

httphttpdkeepaliveweb

What are some different ways/tools to verify that keep-alive is working on the server from the client's end?

Best Answer

You could try

ab -n 500 -c 5 -k http://www.domain.com/

and look via top, if 5 workers are constantly serving the requests keepalive should work (-k) switch. Do the same without -k and see the difference.

Cheers Izac