ab 接口壓力測試工具使用


  • 安裝:
  1. yum install httpd-tools
  • 使用:
  1. ab -n 1000 -c 100 http://www.baidu.com/;
  2. -n 總的請求數; 
  3. -c 並發數;
  4. -k 是否開啟長連接;
  • 請求:
  1.    請求靜態頁面 http://eshop-cache04:82/test_proxy.html
  2. ab -n 1000 -c 100 http://eshop-cache04:82/test_proxy.html
  3. -n 1000 總請求數1000 -c 100 單個時刻並發數100 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM