[原創]Linux下壓力測試工具http_load介紹

來源:互聯網
上載者:User

[原創]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

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.