Arrival Phases

Arrival Phases specify the load progression of your test. It will determine how many clients will arrive at your targets during the test. You need at least one, but you can have as many phases as you wish.

Each phase has a duration (in seconds) and a rate (new clients per second). Additionally you can specify how many clients are allowed to launch during this phase using max_clients and give it a name with the name attribute. The name is shown during the test-execution and can be used to describe the load, e.g. "100% base load" or "expected blackfriday traffic".

definition.setArrivalPhases([
  {
    duration: 5 * 60,  // duration in seconds
    rate: 10,          // clients to launch per second
    max_clients: 100,  // optional: launch up to 100 clients in this phase
    name: "Warmup",    // optional: descriptive name for this phase (up to 32 characters)
  },
]);

Each started client will pick one defined session and execute it, before it ends. See session likelihood how to define this.

Note that the rate defined for a given arrival phase does not represent a constant, fixed rate or interval between client launches. The interval between client launches is drawn from an exponential probability distribution with a mean equal to the specified arrival rate. Because of this, the interval between consecutive client launches may not be predictable. However, over the course of a typical test run, the measured arrival rate will very closely approach or equal the specified rate. Note that very short test cases may show more variance in measured arrival rate due to limited sampling of the probability distribution.

Icon Support Are you stuck? Or do you have any feedback? Get in touch with us – we are happy to help you.
Icon Schedule a demo Schedule a personal, customized demo. We'll show you around and introduce you to StormForger.
Icon Talk to a human To build and run reliable applications is complex – we know. Schedule a call and we’ll figure things out.

We are using cookies to give you the best online experience. If you continue to use this site, you agree to our use of cookies. By declining we will disable all but strictly required cookies. Please see our privacy policy for more details.


Accept Decline