apache ab性能测试实践

E:\developtools\apache ab\httpd-2.4.25-x86-vc14-r1\Apache24\bin>ab -n 15000 -c 6
00 "http://192.168.0.166:8080/eduhomeweb/login/login.do?username=xiaohanlin&pass
word=xiao123456"
This is ApacheBench, Version 2.3 <$Revision: 1757674 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 192.168.0.166 (be patient)
Completed 1500 requests
Completed 3000 requests
Completed 4500 requests
Completed 6000 requests
Completed 7500 requests
Completed 9000 requests
Completed 10500 requests
Completed 12000 requests
Completed 13500 requests
Completed 15000 requests
Finished 15000 requests


Server Software:
Server Hostname:        192.168.0.166
Server Port:            8080

Document Path:          /eduhomeweb/login/login.do?username=xiaohanlin&password=
xiao123456
Document Length:        355 bytes

Concurrency Level:      600
Time taken for tests:   185.923 seconds
Complete requests:      15000
Failed requests:        0
Total transferred:      8970000 bytes
HTML transferred:       5325000 bytes
Requests per second:    80.68 [#/sec] (mean)
Time per request:       7436.924 [ms] (mean)
Time per request:       12.395 [ms] (mean, across all concurrent requests)
Transfer rate:          47.11 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0   12 183.0      1    3035
Processing:    56 7409 2780.5   6731   12640
Waiting:       29 4743 2557.0   3595    9713
Total:         56 7421 2783.4   6733   12642

Percentage of the requests served within a certain time (ms)
  50%   6733
  66%   9592
  75%   9613
  80%   9630
  90%   9686
  95%   9730
  98%  12576
  99%  12592
 100%  12642 (longest request)

posted @ 2017-05-29 23:47  kuroniko  阅读(205)  评论(0编辑  收藏  举报