Linux under the Web Stress test tool, the most commonly used should be the Apache AB, of course, there are many options. Webbench,http_load. Look at your personal hobbies. Recently, however, the most handy thing to use is siege.
Siege website Address http://www.joedog.org/
, Latest version 3.0.8,http://download.joedog.org/siege/
1. Installation
wget http://download.joedog.org/siege/siege-3.0.8.tar.gz
Tar xzvf siege-3.0.8.tar.gz
CD siege-3.0.8
./configure
Make && make install
2. Prepare a test URL or URL list file
3. Run up
Siege Www.jumei.com/test.php-b-r10-c400
Parameter description:
-B--benchmark benchmark:no delays between requests.
There is no delay between each request, and there is a-D parameter plus a delay, similar to the think time of some professional test tools
-R--reps=num Reps, number of times to run the test.
How many times each request is executed
-C--concurrent=num Concurrent users, default is 10
Concurrent users
-F--file=file file, select a specific URLS file.
4. Implementation results
transactions:3915 Hits
availability:97.88%
Elapsed time:43.73 secs
Data transferred:706.12 MB
Response time:2.90 secs
Transaction rate:89.53 trans/sec
throughput:16.15 mb/sec
concurrency:259.48
Successful transactions:3915
Failed transactions:85
Longest transaction:37.70
Shortest transaction:0.05
This article is from the "Candle Shadow Red" blog, be sure to keep this source http://gccmx.blog.51cto.com/479381/1579456
The use of web stress test tool siege under Linux