版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xiangshangbashaonian/article/details/85233956
ab -n 100 -c 10 http://127.0.0.1/index.html
-n requests Number of requests to perform 要执行的请求数量
-c concurrency Number of multiple requests to make at a time 一次进行多个请求的数目所以意思就是 对http://127.0.0.1/index.html这个页面进行100次请求 每个请求执行100个