Replies: 2 comments 3 replies
-
Only plain filenames are supported for locustfile distribution to workers (if someone wants to build it then that would be great, but I think it would be complicated). I'll have a quick look at making the error message more clear. |
Beta Was this translation helpful? Give feedback.
1 reply
-
What version of locust are you on btw, maybe it has already been fixed? At least I cannot find that specific error message anywhere in the code. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As described in https://docs.locust.io/en/stable/configuration.html
I tried to pass a directory as locustfile option in master node:
on the worker node, when I try to launch worker with
-f -
option, it reports:python3 -m locust -f - --worker --master-host my_host --processes -1 Got error from master: locustfile parameter on master must be a plain filename (not a module name) (was 'test_cases/')
Any idea on what's happening?
Beta Was this translation helpful? Give feedback.
All reactions