openload (http stress test tool)

最後更新: 2015-09-15

介紹

 * 佢唔 support SSL

 


安裝:

apt-get install openload

Usage:

openload [options] url [clients]

-t     # Test mode. full response from the webserver (including headers) is displayed

        # No throughput measurements are done, clients defaults to 1

-v      # Verifier mode

-l       # Time limit: number of seconds.

-o      # Output  mode: Currently only CSV

 

Example:

openload http://example.com/index.html 10

Result:

MaTps   0.45, Tps   0.45, Resp Time  2.245, Err   0%, Count     1
MaTps   1.52, Tps  11.19, Resp Time  2.948, Err   0%, Count    13
MaTps   2.98, Tps  16.07, Resp Time  3.625, Err   0%, Count    31
MaTps   3.74, Tps  10.58, Resp Time  2.241, Err   0%, Count    42
MaTps   5.41, Tps  20.51, Resp Time  2.126, Err   0%, Count    63
MaTps   6.34, Tps  14.73, Resp Time  1.605, Err   0%, Count    78
MaTps   7.31, Tps  15.95, Resp Time  1.977, Err   0%, Count    95
MaTps   7.31, Tps   7.32, Resp Time  2.139, Err   0%, Count   104

解釋:

 * MaTps: a 20 second moving average of TPS.
 * Tps: (Transactions Per Second) is the number of completed requests during that second.
 * Resp Time: the average response time in seconds for the elapsed second.
 * Err: the percentage of responses that was erronous, i.e. didn't return a HTTP 200 Ok staus.
 * Count: the total number of completed requests.
 * Total TPS is the average TPS for the whole run, i.e. (Total completed requests) / (Total elapsed time).
 * Avg. Response time: the overall average response time in seconds.
 * Max Response time: the highest response time during this run.

 

Creative Commons license icon Creative Commons license icon