D:\phpStudy1\Apache\bin>ab -n 50 -c 50 -p C:\Users\Administrator\Desktop\p.txt -T application/x-www-form-urlencoded "http://tubu.gouwanmei.wang/api/Baihe/toOrde
r"
This is ApacheBench, Version 2.3 <$Revision: 1748469 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
 
Benchmarking tubu.gouwanmei.wang (be patient).....done
 
 
Server Software:        Apache
Server Hostname:        tubu.gouwanmei.wang
Server Port:            80
 
Document Path:          /api/Baihe/toOrder
Document Length:        69 bytes
 
Concurrency Level:      50
Time taken for tests:   1.836 seconds
Complete requests:      50
Failed requests:        0
Total transferred:      13900 bytes
Total body sent:        9800
HTML transferred:       3450 bytes
Requests per second:    27.23 [#/sec] (mean)
Time per request:       1836.105 [ms] (mean)
Time per request:       36.722 [ms] (mean, across all concurrent requests)
Transfer rate:          7.39 [Kbytes/sec] received
                        5.21 kb/s sent
                        12.61 kb/s total
 
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       19   21   0.8     20      22
Processing:   782  903  61.7    900    1027
Waiting:      780  902  62.0    898    1026
Total:        804  924  61.6    920    1048
WARNING: The median and mean for the initial connection time are not within a no
rmal deviation
        These results are probably not that reliable.
 
Percentage of the requests served within a certain time (ms)
  50%    920
  66%    942
  75%    974
  80%    984
  90%   1012
  95%   1026
  98%   1048
  99%   1048
 100%   1048 (longest request)

C:\Users\Administrator\Desktop\p.txt请求参数格式

user_id=1&order_id=312

发表评论

邮箱地址不会被公开。 必填项已用*标注