Combining and nesting templating functions
Combine and nest templating functions in Hoverfly Cloud simulations for complex and dynamic API response generation.
Examples:
{{ putValue 'id' (Request.Body 'jsonpath' '$.id') true }}
{{ multiply '5' '2' '0.00' }}
{{ multiply this.quantity this.price '0.00' }}Example 1:
{{ sum <array> '<format>' }}
{{ split <delimited-string> '<delimiter>' }}
{{ Request.Body '<querylanguage>' '<query>' }}Example 2:
Last updated