Web性能壓力測試工具Siege使用教程
Siege是一個多線程http負載測試和基準測試工具。通過使用Siege 提供的功能,可以很容易的制定測試計劃:包括規(guī)定使用并發(fā)用戶數(shù)、重復數(shù)量,從而可以模擬在服務器、網(wǎng)絡或者其它對象上附加負載以測試他們提供服務的受壓能力,方便的測試服務器的性能。
官方下載地址:http://www.joedog.org/pub/siege/
Siege安裝:
#wget http://www.joedog.org/pub/siege/siege-latest.tar.gz
#tar -xzvf siege-latest.tar.gz
#./configure; make
#make install
Siege參數(shù)說明:
Transactions: 總共測試次數(shù)
Availability: 成功次數(shù)百分比
Elapsed time: 總共耗時多少秒
Data transferred: 總共數(shù)據(jù)傳輸
Response time: 等到響應耗時
Transaction rate: 平均每秒處理請求數(shù)
Throughput: 吞吐率
Concurrency: 最高并發(fā)
Successful transactions: 成功的請求數(shù)
Failed transactions: 失敗的請求數(shù)
Siege使用:
siege -c 10 -r 20 -f url.txt -i -b
結(jié)果:
Transactions: 200 hits
Availability: 100.00 %
Elapsed time: 9.87 secs
Data transferred: 0.46 MB
Response time: 0.45 secs
Transaction rate: 20.26 trans/sec
Throughput: 0.05 MB/sec
Concurrency: 9.11
Successful transactions: 82
Failed transactions: 0
Longest transaction: 3.08
Shortest transaction: 0.25
結(jié)果說明:
Transactions: 總共測試次數(shù)
Availability: 成功次數(shù)百分比
Elapsed time: 總共耗時多少秒
Data transferred: 總共數(shù)據(jù)傳輸
Response time: 等到響應耗時
Transaction rate: 平均每秒處理請求數(shù)
Throughput: 吞吐率
Concurrency: 最高并發(fā)
Successful transactions: 成功的請求數(shù)
Failed transactions: 失敗的請求數(shù)
相關文章
win2008 r2 服務器環(huán)境配置(FTP/ASP/ASP.Net/PHP)
這篇文章主要想介紹websitepanel環(huán)境配置之FTP/ASP/ASP.Net/PHP運行環(huán)境的搭建,需要的朋友可以參考下2013-12-12無盤完美解決Windows Server 2012或2016無法安裝.NET Framework3.5的方法
今天小編就為大家分享一篇關于無盤完美解決Windows Server 2012或2016無法安裝.NET Framework3.5的方法,小編覺得內(nèi)容挺不錯的,現(xiàn)在分享給大家,具有很好的參考價值,需要的朋友一起跟隨小編來看看吧2019-03-03

樹莓派搭建web服務器的方法實現(xiàn)(無需公網(wǎng)IP)