Locust fasthttplocust客户端环境搭建
1、下载地址:https://github.com/locustio/locust
2、python setup.py install
3、在执行目录中将安装完成的locust文件夹替换至原本pip下的原locust文件夹
4、导入包 from locust.contrib.fasthttp import FastHttpLocust,在WebsiteUser这个类继承即可
5、官网api文档网址https://docs.locust.io/en/latest/increase-performance.html#fasthttpsession-class