2011-10-02

HTTP - Apache Benchmark Tool

This is a great way to test the capacity to respond quickly and concurrently of a website.  You need the Apache Utilities 2 package in order to try this in Linux.

(1) Get the utilities through this command:  apt-get install apache2-utils

(2) Run the "ab" command (Apache Benchmark) like this:  ab -n 100 -c 10 http://test.com/pagex.htm

100 represents the number of requests to be sent.
10 represents how many concurrent requests are to be made.
Make sure to point not to the root of a site, but to a specific document.

No comments:

Post a Comment