Appache pressure test

Source: Internet
Author: User

Apache self-brought pressure tool test instructions:

Usage:ab [Options] [http[s]://]hostname[:p Ort]/path
Options are:
-N requests number of requests to perform requests
-c concurrency number of multiple requests to make at a time concurrency
-T TimeLimit Seconds to Max. To spend on benchmarking
This implies-n 50000
-S timeout Seconds to Max. Wait for each response
Default is seconds
-B windowsize Size of TCP send/receive buffer, in bytes
-B address to bind to when making outgoing connections
-P postfile File containing data to POST. Remember also to Set-t
-U putfile File containing data to PUT. Remember also to Set-t
-T Content-type Content-type header to use for post/put data, eg.
' Application/x-www-form-urlencoded '
Default is ' Text/plain '
-V verbosity how much troubleshooting info to print
-W Print out results in HTML tables
-I use HEAD instead of GET
-X attributes String to insert as table attributes
-Y attributes String to insert as TR attributes
-Z attributes String to insert as TD or TH attributes
-C attribute Add cookie, eg. ' apache=1234 '. (repeatable)
-H attribute Add arbitrary header line, eg. ' Accept-encoding:gzip '
Inserted after all normal header lines. (repeatable)
-A attribute Add Basic WWW authentication, the attributes
is a colon separated username and password.
-P attribute Add Basic Proxy authentication, the attributes
is a colon separated username and password.

[email protected] ~]$ sudo ab-n 800-c http://xxx-xxx-xxx-xxx/

This is apachebench, Version 2.3 < $Revision: 1796539 $>
Copyright 1996 Adam Twiss, Zeus technology LTD, http://www.zeustech.net/
Licensed to the Apache software Foundation, http://www.apache.org/

Benchmarking 10.75.9.93 (Be patient)
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Finished requests


Server software:apache/2.4.27
Server hostname:10.75.9.93
Server port:80

Document Path:/newstart-zte/
Document length:1593 bytes

Concurrency level:800
Time taken for tests:0.854 seconds
Complete requests:800
Failed requests:0
Total transferred:1421600 bytes
HTML transferred:1274400 bytes
Requests per second:937.15 [#/sec] (mean)
Time per request:853.656 [MS] (mean)
Time per request:1.067 [MS] (mean, across all concurrent requests)
Transfer rate:1626.28 [Kbytes/sec] Received

Connection Times (MS)
Min MEAN[+/-SD] Median max
Connect:0 3 2.7 5 7
Processing:10 171 190.3 48 845
Waiting:10 171 190.3 48 845
Total:17 174 191.7 50 850

Percentage of the requests served within a certain time (MS)
50% 50
66% 229
75% 283
80% 307
90% 482
95% 511
98% 837
99% 842
100% 850 (Longest request)

Appache pressure test

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.