Custom Action for a wiremock stub
I have my wiremock service running on a kubernetes pod. One of the mappings is as follows:
{
"request": {
"method": "POST",
"urlPattern": "/v1/queue/*."
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"body": "{\"id\":\"GR3e9g\",\"partition\":4,\"time\":07448}"
}
}
Now whenever the wiremock service receives an API call matching the urlPattern /v1/queue/*., I want to add custom logic for the wiremock service to make a...