Skip to content

Locust exception ImportError("cannot import name 'User'",)  #44

@supunsandeeptha

Description

@supunsandeeptha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions