question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add "step-down" capabilities

See original GitHub issue

Description of issue / feature request

Provide an optional configuration option to “step-down” the # of concurrent users based on some supplied rate, and after a defined amount of time after all locust users are hatched. Locust would continue to log the request data and statistics until there are 0 locust users by default.

Gherkin-style User Story (Perspective: Locust test-writer)

Feature: Step-down Capabilities As a user, I want to specify an expiration rate and duration, so that I can verify that hatched locust users are properly expired.

Scenario: Expiration Rate defined Given I start a standard locust execution And I supply a valid expiration rate And I supply a valid duration When I start the Locust swarm And the number of concurrent locust users reaches the defined maximum And the swarm has maintained the maximum number of locust users for duration seconds Then locust users expire as defined by the expiration rate And Locust continues to log data until reaching 0

Scenario: Expiration Rate not defined Given I start a standard locust execution And I supply a valid duration When I start the Locust swarm And the number of concurrent locust users reaches the defined maximum And the swarm has maintained the maximum number of locust users for duration seconds Then locust users expire as defined by the hatch rate And Locust continues to log data until reaching 0

Scenario: Duration not defined Given I start a standard locust execution And I supply a valid expiration rate When I start the Locust swarm And the number of concurrent locust users reaches the defined maximum And I click the Stop button Then locust users expire as defined by the expiration rate And Locust continues to log data until reaching 0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
heymancommented, Oct 24, 2019

It could be conceivable that the rate of decline at the end of a load test is important as items in queues need to be processed after the peak.

That’s true. If and when we implement support for steps in the ramping up of locust users (or more general scenarios), we should also make sure that it also supports stepping down. There is an open issues for this at #1001.

1reaction
iramisvalentincapcocommented, Mar 11, 2019

@micsjo That would be a separate feature which would build upon the functionality that this feature would offer.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to add Stepover and Stepdown to PostProcessor?
Is there a way to define funtion in script to implement the output of these two variable values? Or through the macro command...
Read more >
13-01-270 Step-down Fix Chart Note - FAA
Rich presented various solutions to address this confusion, including adding circling to the existing chart note, separating the vertically guided and non- ...
Read more >
Step-up and Step-down Transformers | Electronics Textbook
A transformer designed to increase the voltage from primary to secondary is called a step-up transformer. A transformer designed to reduce the voltage...
Read more >
Step-Down Nurse Skills For Your Resume And Career - Zippia
Discover the key skills that are required for a Step-Down Nurse to succeed. Patients, BLS, Acute Care skills are good to have on...
Read more >
Step-Down Nurse: In-Demand Specialty for Travel Nursing Jobs
The ability to choose your destination and assignment length provides tremendous flexibility, while the journeys and assignments you select add ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found