Use the template-plugin to manipulate the body of request and response messages. You can use Text, JSON and XML to render or transform a message. Variables in a template allow to create dynamic content.
| Sample | Description |
|---|---|
| JSON | - Creating JSON messages - Accessing values from a JSON body |
| Text | - Creating text messages - Using variables to access values from messages, headers, properties and query params. - Using Groovy in the template |
| XML | - Accessing values from XML with XPath - Using templates in external files - Using Groovy in the template |
See: