Apache自带的压力测试工具ab.exe简单介绍

       Apache的bin目录下有个ab.exe,是自带压力测试工具,简单介绍下并发

 使用:在控制台打开Apache的bin目录,而后使用 ab.exe -n 110 -c 210 http://xxxxxxx 回车ide

 以下图wKioL1RtoFrCsa6vAALmNJPqRcs944.jpg工具

指令意思: -n (访问总次数) -c (并发数) http://(目标URL)
测试

比较重要的信息  Concurrency Level:      110   访问110次
                Time taken for tests:   0.250 seconds  共使用了多少时间(固然是越小越好)  
                Complete requests:      210   210个并发数   
blog

                Requests per second:    840.00 [#/sec] (mean)  每秒完成多少请求(固然是越大越好)            
get

                Time per request:       130.952 [ms] (mean)  用户平均请求等待时间(固然是越小越好)      
requests

相关文章
相关标签/搜索