压力测试

  https://pypi.org/project/mechanize/

https://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&tn=baidu&wd=wrk压力测试%20&oq=wrk%25E5%258E%258B%25E5%258A%259B%25E6%25B5%258B%25E8%25AF%2595%2520%25E5%259B%25BE%25E5%25BD%25A2&rsv_pq=a7c9f1c50004db61&rsv_t=0bc6bC56QUg6KjhRLcHET6pqX914TjNx10c1cL31971dit24MWi03ylM4Rg&rqlang=cn&rsv_enter=0&inputT=706&rsv_sug3=55&rsv_sug1=39&rsv_sug7=100&rsv_sug2=0&rsv_sug4=1520&rsv_sug=2

https://blog.csdn.net/weixin_33834137/article/details/85870533

https://www.cnblogs.com/terryguan/p/6681055.html

 https://github.com/cgoldberg/multi-mechanize/tree/master/examples

pip install multi-mechanize mechanize

/data/pylot

ab -c 1 -n 10 https://www.baidu.com/
python run.py -a 10 -d 5 解释: -a表示并发100个客户端连接,-d表示持续运行时间为20秒


E:Python27Scriptspip2.exe install wxpython numpy matplotlib


run_time: 5
rampup: 5
results_ts_interval: 5
progress_bar: turn on
console_logging: turn on
xml_report: turn on


multimech-run mutest

zip -r 1648.zip

 

原文地址:https://www.cnblogs.com/du-jun/p/11061621.html