Locust exception ImportError("cannot import name 'User'",)
END RequestId: 0fec6b92-8c39-42a7-8c14-16629a464c67
NOTE: when i used the import with HttpUser, it gives the same error.
I'm trying to use the invokust with AWS Lambda, but no luck so far, below are the steps that i followed,
- installing invokust in to the python target folder (sudo pip3 install invokust --target=python-packages)
- Created the locustfile and lambda_locust(handler).
- Created a zip with all 3 files (zip -q -r lambda_locust.zip lambda_locust.py princess_locustfile.py python-packages )
- Created the lambda
- and invoked from the console.