Use Apache AB to do site performance testing, below is the test results analysis:
After installing Apache AB, you can enter AB-N1000-C10 http://101.200 in CMD. . /To test the site you want to test.
D:\Program Files (x86) \apache AB>AB-N1000-C10http://101.200. *.*/this is Apachebench, Version2.3< $Revision:655654$>copyright1996Adam Twiss, Zeus technology LTD,http://www.zeustech.net/licensed toThe Apache software Foundation,http://www.apache.org/benchmarking101.200. 204.(Be patient) Completed -requestscompleted $requestscompleted -requestscompleted -requestscompleted -requestscompleted -requestscompleted therequestscompleted -requestscompleted therequestscompleted +Requestsfinished +Requestsserver software:apache-coyote/1.1Server Hostname:101.200.*.*# #请求主机Server Port: the # #请求端口Document Path:/# #请求URL地址Document Length:714 bytes # #http响应正文的长度Concurrency level:Ten # #并发数Time taken forTests36.495 seconds # #所有请求完成时间Complete requests: + # #完成请求数量Failed requests:1 # #失败的请求数量(Connect:1, Receive:0, Length:0, Exceptions:0) Write Errors:0Total Transferred:1024070 bytes # #整个过程中网络传输量HTML Transferred:714000 bytes # #整个过程HTML传输量Requests perSecond:27.40[#/sec] (mean) # #重要指标, server throughput rateTime per request:364.949[MS] (mean)# #用户平均请求等待时间Time per request:36.495[MS] (mean, across all concurrent requests)# #每个平均请求实际运行平均值Transfer Rate:27.40[kbytes/sec] Received# #表示请求单位时间内流量Connection Times (MS)minMEAN[+/-SD]Median MaxConnect:3 - 164.1 6 3009Processing:7 327 2036.4 About 21064Waiting:5 223 1784.8 - 21057Total: - 341 2041.8 + 21070# #统计用户等待时间Percentage of theRequests servedwithin aCertain Time(MS) -% + the% - the% the the% the -% in the% the 98%3064 About%3350 -%21070(Longest request)
此为学习笔记
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
HTTP performance Test (Apache AB)