Expand description
Dotted JSON paths (output.items[0].name) and {{ var }} substitution in
assertion values. No JavaScript: a path is identifiers, . and [index].
Structs§
- Json
Path - A parsed path such as
output.items[0].nameoroutputs["odd key"].
Functions§
- render
- Replace
{{ path }}references in every string ofvalue, looking paths up incontext. A string that is exactly one reference becomes the referenced value itself (sovalue: "{{expected_docs}}"can be a list); otherwise the referenced values are inserted as text. Unknown references are errors.