http_load 高并发测试

安装http_load

下载

sudo wget http://www.acme.com/software/http_load/http_load-09Mar2016.tar.gz

解压

sudo tar zvxf http_load-09Mar2016.tar.gz -C /usr/local

安装

sudo make && sudo make install

测试使用

# http_load -p 100 -s 5 url.txt 
449 fetches, 100 max parallel, 338097 bytes, in 5.00003 seconds
753 mean bytes/connection
89.7995 fetches/sec, 67619 bytes/sec
msecs/connect: 55.3583 mean, 288.785 max, 12.192 min
msecs/first-response: 935.202 mean, 1347.13 max, 98.456 min
HTTP response codes:
  code 200 -- 449

url.txt中存访问地址

posted @ 2019-04-04 21:03  TBHacker  阅读(1017)  评论(0编辑  收藏  举报