For the complete documentation index, see llms.txt. This page is also available as Markdown.

Using templating in simulations

Use templating in Hoverfly Cloud simulations to create dynamic responses based on request data and other variables.

Templating in Hoverfly Cloud provides a powerful way to render just about anything you want into the response. It uses the well known {{ handlebars }} syntax where the handlebars surround functions which allow you to control information flow.

Important: In order to enable templating you need to explicitly click the "Enable templating" checkbox when crafting your response.

A simple tutorial that covers some of what's possible with templating can be found here.

As this is a fairly large topic it is broken up into sections:

Please select a section from the menu or continue reading about templating here

Last updated