当运行 locust --master 和客户端 locust --master-host 时,
Locust 无法运行 api 压力,为什么?
服务器:locust -f locustfile.py --master (centos)
客户端:locust -f locustfile.py --worker --master-host 10.200.6.1(mac)
访问webUI,worker显示1个worker,但是开始测试,
三秒后立即停止,
rps 和结果仍然显示无。
错误日志:lewis-test/INFO/locust.main:启动 Locust 1.2.3
密码日志:
lewis-test/INFO/locust.main:启动 Locust 1.2.3
lewis-test/INFO/locust.runners:产卵 100 用户速率为 100 个用户/秒(0 个用户已在运行)...
lewis-test/INFO/locust.runners:生成的所有用户:MyUser:100(0 已运行)