D:\Program Files\Apache Software Foundation\Apache2.2\bin>ab -n 1000 -c 10 http:
//localhost:8080/zzt/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: Apache/2.2.25
Server Hostname: localhost
Server Port: 8080
Document Path: /zzt/
Document Length: 953 bytes
Concurrency Level: 10
Time taken for tests: 1.094 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 1214000 bytes
HTML transferred: 953000 bytes
Requests per second: 914.29 [#/sec] (mean) --> Throughput rate (1000/1.094)
Time per request: 10.938 [ms] (mean) --> User average request waiting time (1.094/(1000/ 10))
Time per request: 1.094 [ms] (mean, across all concurrent requests) --》Server average request processing time (1.094/1000)
Transfer rate: 1083.93 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 2.3 0 16
Processing: 0 10 8.4 16 47
Waiting: 0 10 8.5 16 47
Total: 0 10 8.4 16 47
Percentage of the requests served within a certain time (ms)
50% 16
66% 16
75% 16
80% 16
90% 16
95% 16
98% 31
99% 31
100% 47 (longest request)
***********************************************************************
understand:
1. Graph of throughput rate versus number of concurrent users
2. The average request processing time of the server varies with the number of concurrent users
3. The average request waiting time of users varies with the number of concurrent users