Apache Benchmark for load testing
Apache Bench is a great load testing tool for web servers
Here are the following steps
1. Install Apache Bench
2. Run Apache Bench
The following line uses keepalive for 10,000 connections, at a concurrency of 100 and a timeout of 20 seconds. Be sure to end root domains with a slash.
Here are the following steps
1. Install Apache Bench
sudo aptitude install apache2-utils
2. Run Apache Bench
The following line uses keepalive for 10,000 connections, at a concurrency of 100 and a timeout of 20 seconds. Be sure to end root domains with a slash.
ab -k -n 10000 -c 100 -t 20 http://yourwebsite.com/
Comments
Post a Comment