<How to send a mock webhook with body from Wiremoc...
# stackoverflow
r
How to send a mock webhook with body from Wiremock response body I try to create a mock webhook request, which will be triggered when request /transform is call in webhook request body will get the id from response body id. How can I achieve that? { "request": { "method": "POST", "urlPath": "/transform" }, "response": { "status": 200, "body": "{\"message\": \"success\", \"id\": \"{{randomValue length=10 type='ALPHANUMERIC'}}\"}", "headers": { "Content-Type": "application/json" } }, "serveEventListeners": [ {...
👀 1
✅ 1