Templating and Functions
Replay uses Handlebars-style{{ var }} syntax for variable interpolation, plus 45 built-in functions for data transformation.
Variable Interpolation
Any string field in a step can reference state variables:Nested Access
Access nested fields with dot notation:Environment Variables
Environment variables are loaded into the global scope at startup. Access them directly:Built-in Functions
String Functions
Math Functions
Date Functions
JSON Functions
Type Conversion Functions
Combining Functions
Functions can be nested:What’s Next?
- Deep-dive into working with JSON — extraction and assertions
- Integrate with CI/CD pipelines