locust (一)简单脚本记录1

locust (一)简单脚本记录1

locust (一)简单脚本记录1

以上代码是在linux下直接编辑的,运行命令:locust -f xxx.py --web-host=192.168.10.77 就可以了
网址访问:192.168.10.77:8089