-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test file can not be named locust.py (or any other name that is the same as an existing python package) #138
Comments
Hi! I believe you got this error because your locust test file is named locust.py. I just tested this and got the same error. I'm marking this issue as a bug, and changing the name of it. In the meanwhile you can get it working by just renaming your test file (for example to locustfile.py). Thanks for the report! |
Thanks Jonatan, it works now. Glad I stumbled upon a bug. |
Great! I'll re-open this issue and use it to track the bug :). |
Sure. Sorry, I shouldn't try to close it. |
I got the same error when having file name as locust.py. |
+1 :) |
I have the error no matter what my file is named. ? |
where is full path of this in windows |
Hi, |
The problema here is that the error is not clear. I think you can improve error message if locust file is named |
Thanks for writing the locust test tool. It's very interesting!
I follow the instruction on http://locust.io/, first I installed
Then I copied and pasted the sample "Simple example" to locust.py in my local directory and run it against a server listening on another PC (10.3.0.3) as the following but got error:
Not sure what have gone wrong.
Thanks.
The text was updated successfully, but these errors were encountered: