Load testing your web application with Apache Bench

If you don’t have Apache take XAMPP from http://www.apachefriends.org

Use Apache Bench

ab -n 50 -c 50 http://sample.app/customers

The -n switch represents the number of requests to perform
The -c switch represents concurrency, or how many requests to make at the same time.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s