Closed alexanderm2018 closed 6 years ago
Sorry it was my bad since I have created response body with extension json not vm, after changing the extension to .vm things seems working fine.
Okay glad you found the issue. I included a functional directory with examples in the root of the repository. https://github.com/adamyork/wiremock-velocity-transformer/tree/master/functional/mappings.
yes this is where I found the clue, nice useful stuff you done.
In your example you provided the json representation of response but not mapping file. so I added my mapping file but have not observed response was using the template. Here console out put when call mapping to use your velocity. I have your jar in the same location where wiremock and started it with the command you have provided.