Create a Scenario

The scenario defines the set of steps that agents will run when executing a load test as well as the timing in between those steps.

For example a scenario for an HTTP based REST API might involve:

  1. Send GET / to http://mywebsite.com/api
  2. Wait 100ms for a reply, check the status code to ensure a 200 OK.

There are a few ways to define a script:

Scenario Parameters

Scenario parameters allow you to parameterize your scenario and share it across multiple test configurations. Parameter vlues are passed to your scenario at runtime in different ways depending on the scenario type. See the detailed documentation for your chosen scenario type for more details.

In general though parameters are accessible as environment variables, system properties, or via a global params object in the case of Node.js scripts.