HTTPERF is your friend
Performance tools are a great help for testing your web application deployment setup. They not only let you judge how the performance of the application is but also catch errors. Nobody wants a web application which starts to spit out errors when put under load or worse, randomly!
HTTPERF is a gift from HP which is my favourite tool at the moment.
An example httperf usage is:
This hits the google homepage with 80 requests per second for 800 requests in total. This test will run for circa 10 seconds.
Results are as follows:
This line below is important:
It tells us that the avg requests per second is 77.9. There is a low standard deviation, which is good. If you have a high stddev you should be worried. Lastly, it has calculated this using 2 samples. You can increase the number of samples by increasing the num-conns, which will give you a more reliable dataset.
Watch out for the errors:
Looking good, google is performing well on the error front. Obviously google.com handles more than 80 req/s! Now go away and performance test some of your sites!
There is some valuable further watching to be had. Episodes 15 and 16 mention httperf.