-
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
Feature request: Stepped hatch rate #168
Comments
Hi Matt,
This is the reason why Locust will reset the statistics after the hatching phase is completed. I'm not sure why stepped hatching would make any difference in this regard. |
I would like to be able to set up a test run that will gradually increase On 12 July 2014 23:59, Joakim Hamrén [email protected] wrote:
|
There was a 'ramping' plugin in locust some time ago (that was removed) that tried to do more or less what you described (if I understand correctly), by looking at the response times - that could be updated to current master. But if you'd rather use some other metrics (NewRelic metrics) that describe the load on your system, there's nothing to stop you writing a script that would: a) call locust http api to add load |
@justiniso Can this be re-opened? I am also curious about how to provide a fractional hatch rate, so that fewer than 1 VU is hatched per second (often, much fewer, like maybe 5 new VUs spread out over 1 minute). You can see, e.g. in |
I am interested if someone found answer or some workaround for this feature. It would be useful |
Found out that hatch rate may be set to float value so to get one user per 10 sec hatch rate 0.1 can be set. Maybe it will be helpful for somebody |
Hey guys i'm also very intrested by this feature request. This allows you to create more realistic tests |
With a constantly increasing load due to a constant hatch rate, the server doesn't have time to steady-state and produce stable statistics.
I would love to be able to specify a locust population that:
I think you would need two more parameters, in addition to hatch rate and number of locusts: population_step and time_between_steps.
It would make the population grow like this:
Instead of like this:
The text was updated successfully, but these errors were encountered: