摘要: 1,安装apache 2,打开cmd进入apache安装目录的bin目录(有ab.exe) 3,执行ab命令 格式:ab -n 10000 -c 2000 http://localhost:80/test/test.php 说明:表示这个脚本运行10000次,2000并发(模拟2000个用户同时访问) ab常用参数介绍: -n requests :Number of requests... 阅读全文
posted @ 2017-02-22 11:18 boluoboluo 阅读(407) 评论(0) 推荐(0) 编辑