Apache AB Tool page Stress test return result meaning explanation _linux

Source: Internet
Author: User
Tags server port

AB is a very useful test tool for Apache, and when you're done with Apache, you can find AB below the bin.

Parameter descriptions and examples

We can simulate 100 concurrent users and send 1000 requests to a page.

Input command: ab-n1000-c100 http://www.jb51.net/


Where-n represents the number of requests,-C represents the number of concurrent

return Result:

# #首先是apache的版本信息 This is apachebench, Version 2.3 <Revision:655654> Copyright 1996 Adam Twiss, Zeus Technology lt D, http://www.xxx.xxx/Licensed to the Apache Software Foundation, http://www.apache.org/Benchmarking xxx.xxx.com (being P atient) Server software:apache/2.2.19 # #apache版本 Server Hostname:vm1.xxx.com # #请求的机子 Server port:80 # # Request Port Document Path:/xxx.html document length:25 bytes # #页面长度 concurrency level:100 # #并发数 time taken for Te sts:0.273 seconds # #共使用了多少时间 Complete requests:1000 # #请求数 Failed requests:0 # #失败请求 Write errors:0 to  Tal transferred:275000 bytes # #总共传输字节数, containing HTTP header information such as HTML transferred:25000 bytes # #html字节数, actual page pass bytes Requests per  second:3661.60 [#/sec] (mean) # #每秒多少请求, this is a very important parameter value, the server throughput time of per request:27.310 [MS] (mean) # #用户平均请求等待时间 time Per request:0.273 [MS] (mean, across all concurrent requests) # #服务器平均处理时间, which is the countdown to server throughput Transfer rate:983.34 [Kb YTES/SEC] Received # #每秒获Data length Connection times (ms) min MEAN[+/-SD] median max connect:0 1 2.3 0 processing:6 25 3.  2 Waiting:5 3.2 total:6 4.0 percentage of the requests served within a 
 Certain time (MS) 50% 25 # # 50% 's request returns 66% 26 # # 60% in the 25MS request returns 75% 26 80% 26 90% 27 95% 31 in 26ms
 98% 99% 100% (longest request)

Apache's AB tool is also considered a DDoS attack tool

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.