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 = trueworker.conf
[worker conf]worker = truelocustfile = petstore.pyI 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.