Title.
and the number of requests that are behind this-n refers to the number of users?
Means: When 10 users request a server, there may be 1 concurrent or 1-10 concurrent, or maybe 0 concurrent?
Ab-n 10-c 1 http://localhost/a.php
Ab-n 100-c 1 http://localhost/a.php
Ab-n 1000-c 1 http://localhost/a.php
Reply to discussion (solution)
Options are:
-N requests number of requests to perform
-c concurrency number of multiple requests to make
-T TimeLimit Seconds to Max. Wait for responses
-B windowsize Size of TCP send/receive buffer, in bytes
-P postfile File containing data to POST. Remember also to Set-t
-T Content-type content-type header for POSTing, 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.
-X Proxy:port ProxyServer and port number to use
-V Print version number and exit
-K Use HTTP KeepAlive feature
-D do not show percentiles served table.
-S do not show confidence estimators and warnings.
-G filename Output collected data to gnuplot format file.
-e filename Output CSV file with percentages served
-R Don ' t exit on socket receive errors.
-H Display Usage information (this message)
With the help of online translation, not ugly understand it?
You
Ab-n 10-c 1 http://localhost/a.php
Represents 10 requests with a concurrency of 1