Percentage of the requests served within a certain time (ms)
50% 12921
66% 13203
75% 13453
80% 13546
90% 13781
95% 14156
98% 14750
99% 18328
100% 30578 (longest request)
以上結果指出,在并發50個請求的情況下,完成1000次的訪問請求,共花了262.515秒,這個程序每秒可處理3.81個請求。
2.4 問題
在實際使用中,我發現-c 參數,即一次同時產生的并發請求個數最多設置成64,大于等于65就會報錯,不知道為什么。
3 資料
ab官方網站:http://httpd.apache.org/docs/2.0/programs/ab.html
Apache 2.0手冊中文版翻譯項目ab部分:https://support.iap.ac.cn/net/ApacheManual/zh-cn/programs/ab.html
延伸閱讀
文章來源于領測軟件測試網 http://www.k11sc111.com/