測試工具之自動化測試
阿新 • • 發佈:2017-10-13
測試工具概覽
ab | |
http://httpd.apache.org/docs/2.0/programs/ab.html | |
ab - Apache HTTP server benchmarking tool
ab
is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server. It is designed to give you an impression of how your current Apache installation performs. This especially shows you how many requests per second your Apache installation is capable of serving.
1.安裝
yum install httpd
2.相關命令參數
ab -n 5000 -c 200 http://localhost/index.php
-n為總的請求數,-c為並發數
官方文檔地址:
http://httpd.apache.org/docs/2.0/programs/ab.html
本文出自 “運維自動化” 博客,請務必保留此出處http://shower.blog.51cto.com/4926872/1971903
測試工具之自動化測試