Description of slowhttptest usage parameters
Test mode:
-Hslow headers *, send\ r\ n slowly and keep the server waiting.
-Bslow Body * *
-R range * Apache killer
-Xslow read * *, which reads slowly, causing the server to send cache congestion.
Report generation options:
-g generate socket state change statistics
-o file_prefix saves the output to file.html and file.csv
-v level log level, 0-4 virtual FatalMagneInforeErrorreWarningjingje Debug
General options:
-c connections target connections (50)
-I seconds data transmission interval (10)
-l the length of time seconds tests a target (240)
-r rate how many connections per second (50)
Value of-s bytesContent-Length (4096)
-t the verb used in the verb request. If it is slow header***, the default is GET;. If it is slow body***, the default is POST.
-u URL target URL (http://localhost/)
-x bytes the maximum length of each key-value pair randomly generated by each tick, for example,-x 2 generates a x-xx:xx is a header field, or a message body similar to & xx=xx, x is a random character (32)
Probe / proxy options:
-d host:port all data goes to the designated proxy host:port
-e host:port probe traffic follows the designated proxy host:port
-p seconds probe timeout, the server is considered to be network unreachable (5)
Range * * specific options:
-a start left boundary value (5)
-b bytes right boundary value (2000)
Slow read*** specific options
-k num the number of repetitions of the same request, used to enlarge the response length when the server supports persistent connections (1)
-the interval between each time seconds reads messages from the receive buffer (1)
-w bytes gets the starting position of the data from the notification window (1)
-y bytes gets the end of the data from the notification window
-z length of each bytes read from the receive buffer (5)
For example:
Slowhttptest-X-g-o output-v 1-c 100-l 30-u http://xx.2xx.1xx.2xx/UDF.php