locust 多机分布式

2021-02-09  本文已影响0人  土豆特别想爬山

调度机(Master)

locust -f xxx.py --master
nohup locust -f xxx.py --master  > xxx.log 2>&1 &

执行机(Slave)

locust -f xxx.py --worker --master-host=172.16.2.xxx
nohup locust -f xxx.py --worker --master-host=172.16.2.xxx  > xxx.log 2>&1 &
上一篇 下一篇

猜你喜欢

热点阅读