De Wiki inetshell
Saltar a: navegación, buscar

https://serverfault.com/questions/514401/how-to-install-apache-benchmark-on-centos

https://stackoverflow.com/questions/12732182/ab-load-testing

ab -n 1000 -c 10 -k -H "Accept-Encoding: gzip, deflate" http://www.example.com/

-n 1000 is the number of requests to make.

-c 10 tells AB to do 10 requests at a time, instead of 1 request at a time, to better simulate concurrent visitors (vs. sequential visitors).

-k sends the KeepAlive header, which asks the web server to not shut down the connection after each request is done, but to instead keep reusing it.

Docker[editar]

https://hub.docker.com/r/jordi/ab/