-
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
Ability to set a specific number of simulated users per Locust class #575
Comments
Here is a preliminary implementation of this feature for discussion/review. It is implemented as a monkey patch which extends the existing behavior of
|
I am closing this as it appears the monkey-patch approach works - LMK if I need to reopen this. |
Hi all, apologies if I am incorrectly resurrecting this, I tried out this monkey patch (simply added it to the locustfile.py) but not surprisingly got "name 'runners' is not defined" What am I doing wrong? Any help please? Thank you! |
Here is an example for locust 1.5.3. Definitely not a perfect solution but something to get anyone started if they stumble upon this.
|
We are using Locust to test an internal web service where there are two sources of load:
For the latter case, it would be useful to have a way to explicitly set the number of users rather than having Locust compute it from the weights.
The text was updated successfully, but these errors were encountered: