54 CHEN

Web压力测试工具介绍

1.http_load

下载地址:http://www.acme.com/software/http_load/

实际运行:

bash# http_load -rate 5 -seconds 10 urls

49 fetches, 2 max parallel, 289880 bytes, in 10.0145 seconds 5916 mean bytes/connection 4.89274 fetches/sec, 28945.1 bytes/sec msecs/connect: 28.8932 mean, 44.243 max, 24.488 min msecs/first-response: 63.5362 mean, 81.624 max, 57.803 min HTTP response codes: code 200 – 49

解释:

 

2.ab

ab -n 1000 -c 50 http://www.domain.com/test.php

ab将同时向http://www.domain.com/test.php发出50个并发请求,共发出1000次。

有用的信息:

Requests per second: 75.45 [#/sec] (mean)

每秒钟可以处理的请求数为75.45个

原创文章如转载,请注明:转载自五四陈科学院[http://www.54chen.com]

Posted by 54chen linux, php

« md5在线破解 MD5 crack PHP代码的优与劣 »