Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

I'm getting a --run-time error while using locust distributed load (local)

$
0
0

Hello I was following this tutorial:https://youtu.be/FDYD2inSSPY?list=PLJ9A48W0kpRKMCzJARCObgJs3SinOewp5

I recreated his steps:First I created two config files:

master.conf

[master conf]master = trueexpect-workers = 1[runtime settings]host = https://petstore.octoperf.comusers = 3spawn-rate = 2locustfile = petstore.pyrun-time = 30sheadless = trueonly-summary = true

worker.conf

[worker conf]worker = truelocustfile = petstore.py

I then proceed to run this two instructions in different terminals:locust --config=master.conf and locust --config=worker.conf

The first one didn't create a problem, the second one showed this error:

*/ERROR/locust.main: --run-time should be specified on the master node, and not on worker nodes

But as you can see the --run-time configuration is in the master.conf not in the worker.conf

I search in the locust documentation but I didn't find anything on this particular topic.


Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>