ab参数介绍 -n 执行总数 -c 并发数 -H 请求头(cookie写在请求头里面) -x 代理(如:192.168.1.144:8888) -p POST文件(文件内容格式user=ushe&pwd=123)需要和-T 一起用(如:-p "C:\Users\tang\Desktop\p.txt" -T "application/x-www-form-urlencoded")

demo: ab -n 10 -c 10 -H "Cookie: version=1.4.9;uid=1399652;timestamp=1534391695308;lat=0.0;channel=;lng=0.0;os=android;" -H "Host: usheweb.com" -H "Connection: Keep-Alive" -H "Accept-Encoding: gzip" -H "User-Agent: okhttp/3.11.0" -p "C:\Users\tang\Desktop\p.txt" -T "application/x-www-form-urlencoded" http://usheweb.com/