<Need to assign last url parameter to property in ...
# stackoverflow
r
Need to assign last url parameter to property in wiremock mapping I want to assign last url parameter to object property which should be in integer Example : { "request": { "method": "GET", "urlPattern": "/api/v4/Automation/Get/test/([0-9]+)" }, "response": { "status": 200, "headers": { "Content-Type": "application/json" }, "transformers": ["response-template"], "body": "{\"Status\":200,\"Message\":null,\"data\":{\"id\": {{request.path.[5]}}}}" } } if I write body like below then it works but value comes...