友善交流技术...

httperf web压力测试工具

上一篇 / 下一篇  2012-04-24 14:34:35 / 个人分类:性能测试专题

#安装httperf

 apt-get install httperf

#测试请求数

httperf --hog --client=0/1 --server=www.51testing.com --port=80 --uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=10 --num-calls=1000

#测试结果


httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE
Maximum connect burst length: 1

Total: connections 10 requests 1010 replies 1000 test-duration 43.431 s

Connection rate: 0.2 conn/s (4343.1 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 3465.5 avg 4343.1 max 6153.7 median 3720.5 stddev 1054.4
Connection time [ms]: connect 27.7
Connection length [replies/conn]: 100.000

Request rate: 23.3 req/s (43.0 ms/req)
Request size [B]: 68.0

Reply rate [replies/s]: min 14.4 avg 23.0 max 28.8 stddev 5.4 (8 samples)
Reply time [ms]: response 43.2 transfer 0.0
Reply size [B]: header 260.0 content 0.0 footer 2.0 (total 262.0)
Reply status: 1xx=0 2xx=0 3xx=1000 4xx=0 5xx=0

CPU time [s]: user 10.46 system 32.97 (user 24.1% system 75.9% total 100.0%)
Net I/O: 7.4 KB/s (0.1*10^6 bps)

Errors: total 10 client-timo 0 socket-timo 0 connrefused 0 connreset 10
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0


TAG:

 

评分:0

我来说两句

Open Toolbar