-
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
Unique user id per locust #476
Comments
|
Thanks for your reply. That's exactly the behaviour I see. Any tips on how I could implement the scenario I describe above, if possible at all? |
You would have to modify locust to meet your needs. |
You should write
|
I had exactly the same problem. |
Addressed, closing |
Hello,
I'm trying to test a scenario where each user has her own unique user id (basically uuid.uuid4()).
I implemented an on_start method on my TaskSet:
When I run my scenario with say 5 users, I only get requests for 5 different users (i.e. 5 different uuid's). It seems that locust "reuses" these TaskSets, rather than instantiating a new one each time a locust has done its tasks.
Is there a way to implement my scenario? Am I missing something?
Thanks!
The text was updated successfully, but these errors were encountered: