Skip to main content

Test Config

Speedscale's load generator relies upon a basic set of config items to determine how it will behave at runtime.

You can view these in the UI:

test-config

Or via the CLI:

# get all test configs
speedctl get testconfigs -o pretty

# pull a test config to the local cache
speedctl pull test-config my-config

# push a test config after modification
speedctl push test-config my-config

Structure

There are several sections within a Test Config:

  1. Traffic - Set general configuration for how a replay should run
  2. Load Pattern - Set how load should be applied throughout the replay
  3. Cluster - Set infrastructure specific settings
  4. Sidecar - Set sidecar secrets for replays running inside a Kubernetes cluster
  5. Assertions - Set expected responses from the application
  6. Goals - Set thresholds which will constitute a failed test report
  7. Advanced - A text representation of the test config

Some sections contain more details on the following pages.