[原创]Linux下压力测试工具http_load介绍

1 安装操作步骤:

#tar zxvf http_load-12mar2006.tar.gz
#cd http_load-12mar2006
#make
#make install

 

2 使用方法介绍:

http_load -p 3 -s 10 mayingbao.txt

http_load  -p 并发访问进程数  -s 访问时间  mayingbao.txt需要访问的URL文件

其中mayingbao.txt文件存放内容为具体请求的url地址;

 

具体的测试结果信息如下所示

[root@localhost ~]# http_load -p 3 -s 10 mayingbao.txt
4 fetches, 3 max parallel, 134877 bytes, in 10.051 seconds
33719.2 mean bytes/connection
0.39797 fetches/sec, 13419.3 bytes/sec
msecs/connect: 213.264 mean, 214.423 max, 212.726 min
msecs/first-response: 1008.89 mean, 1544.77 max, 453.157 min
HTTP response codes:
code 200 -- 3
code 301 -- 1

 

相关文章:

  • 2021-06-11
  • 2021-12-24
  • 2021-11-28
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
  • 2021-10-03
  • 2021-12-10
猜你喜欢
  • 2021-06-04
  • 2021-07-25
  • 2021-09-12
  • 2021-10-19
  • 2022-01-20
  • 2021-12-27
相关资源
相似解决方案