01
🔀 Scenario Variables
Create reusable scenario templates with dynamic values that change between simulation runs. Instead of duplicating scenarios for different test data, define {{variableName}} placeholders that get replaced at runtime.
Key Features:
- Inline variable editor — Type
{{in any scenario step to create or reference variables with autocomplete - Three-stage lifecycle — Define placeholders in scenarios, optionally pre-set defaults on run plans, and provide final values at runtime
- Multiple instances — Add the same scenario multiple times to a run plan, each with different variable values, to create a test matrix
- API support — Pre-set variables on run plans and pass them at runtime via the SDK, with global or per-scenario modes
- Reserved variables — System variables like
{{persona.name}}and{{phoneNumberToDial}}are automatically resolved
Use Cases:
- Test appointment booking with different patient names, dates, and insurance providers
- Run the same support scenario with different order numbers and claim types
- Parameterize scenarios for CI/CD pipelines without creating duplicates