压力测试工具ab

压力测试工具ab

下载

Apache Haus Downloads

1562420527928

解压

1562420976873

测试

-c代表并发数

-n代表请求总次数

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58

C:\Users\shenlibing\Downloads\httpd-2.4.34-o102o-x64-vc14\Apache24\bin>ab -n 1000 -c 100 http://jd.com/
This is ApacheBench, Version 2.3 <$Revision: 1826891 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking jd.com (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: jfe
Server Hostname: jd.com
Server Port: 80

Document Path: /
Document Length: 165 bytes

Concurrency Level: 100
Time taken for tests: 88.367 seconds
Complete requests: 1000
Failed requests: 0
Non-2xx responses: 1000
Total transferred: 343000 bytes
HTML transferred: 165000 bytes
Requests per second: 11.32 [#/sec] (mean)
Time per request: 8836.697 [ms] (mean)
Time per request: 88.367 [ms] (mean, across all concurrent requests)
Transfer rate: 3.79 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 51 88 178.8 59 1461
Processing: 60 8357 2879.1 7889 14700
Waiting: 60 4265 2937.5 3699 12704
Total: 121 8445 2893.0 7951 14759

Percentage of the requests served within a certain time (ms)
50% 7951
66% 9226
75% 10625
80% 11233
90% 12374
95% 13742
98% 14712
99% 14721
100% 14759 (longest request)

C:\Users\shenlibing\Downloads\httpd-2.4.34-o102o-x64-vc14\Apache24\bin>