In wiremock json how to reuse the same random UUID in both response and callback
i am trying to generate a random- uuid and use it in response as well as in serveEventListeners. But it is not working. Can someone help out?
This is the command used to start the wiremock:
docker run -it --rm -p 8080:8080 --name wiremock wiremock/wiremock:3.3.1 --verbose --global-response-templating
My mapping:
{
"request": {
"method": "POST",
"urlPattern": {{url_match_pattern}}
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},...