Slackbot
03/05/2024, 8:57 PMLee Turner
03/05/2024, 10:05 PM"jsonBody": {
"request_id": "{{randomValue type='UUID'}}"
}
Which should generate something like:
{
"request_id": "cacee46c-c612-4372-9477-652524d1bbda"
}
vinod p
03/05/2024, 10:18 PM{
"request_id": "{{randomValue type='UUID'}}"
}
And the logs of wiremock is attached belowvinod p
03/05/2024, 10:20 PM{
"request": {
"method": "POST",
"urlPattern": {{url_match_pattern}}
},
"response": {
"status": 200,
"jsonBody": {
"request_id": "{{randomValue type='UUID'}}"
},
"headers": {
"Content-Type": "application/json"
}
}
}
vinod p
03/05/2024, 11:15 PMdocker run -it --rm -p 8080:8080 --name wiremock wiremock/wiremock:3.3.1 --verbose --global-response-templating
Lee Turner
03/06/2024, 6:56 AM