This topic describes how to use a Groovy script to send an HTML response as a response of a virtual service.
Use this script as a Script property of a response.
Use the ${content}
property expansion to insert the body of the HTML response to the body of the virtual API response:
![]() |