tag1consulting / goose

Load testing framework, inspired by Locust
https://tag1.com/goose
Apache License 2.0
791 stars 70 forks source link

replace `--hatch-rate` and `--startup-time` with `--increase-rate`, `--increase-time`, `--decrease-rate` and `--decrease-time` #468

Open jeremyandrews opened 2 years ago

jeremyandrews commented 2 years ago

Both --hatch-rate and --startup-time assume that we are only configuring a load test to ramp up. Now that load tests are internally represented with a test plan, we also have to take in the a ramp down time.

The existing commands would be replaced by the --increase commands.

To configure a ramp-down time, we'd introduce the new --decrease commands.

Beyond building load test with a ramp-up time and/or a ramp-down time, this can also be useful when adjusting a running load test through the controller once https://github.com/tag1consulting/goose/issues/454 lands.