Home   Profile   Fun
#141 Linux  03.08.2007

Simple load testing of the Apache2 webserver with ab2


It is very easy to create some load for an Apache2 webserver and check its performance. For a first simple check there is no need to install and configure additional software. Just use the program ab2 which comes with the Apache2 package.

This example executes 300 requests all together. 10 are run in parallel.
ab2 -c 10 -n 300 http://domainxyz/

With webserver authentication
ab2 -A user:password -c 10 -n 300 http://domainxyz/