Slackbot
01/31/2024, 10:47 AMTom
01/31/2024, 11:06 AM.withTransformers("response-template")
will have it enabled.Oswald Quek
01/31/2024, 11:40 AM.withBody(readFile("aFile.html"))
with .withTransformers(readFile("aFile.html"))
and this is what I got in the UI - there's nothing in the body and dynamic response templating isn't enabled. I am on the wiremock latest version 3.3.1 too. Might it be because I'm on the free plan?Tom
01/31/2024, 2:51 PM.withTransformers("response-template")
on your stubs, and if you want the response template in a separate file use .withBodyFile("path/to/your/file")
Oswald Quek
02/01/2024, 9:54 AM