Closed rmeshksar closed 3 months ago
I think you can use:
request.bodyAsJson.id
See https://github.com/WireMock-Net/WireMock.Net/wiki/Response-Templating#the-request-model
Would that be request of the original call or response from the original call? I am looking to use the response form the original call.
This worked for me: {{JsonPath.SelectToken response.bodydata.bodyAsString 'Id'}}
Hi, Imagine a mocked API returns response from this template:
This mock API triggers a Webhook call with some delays.
Is it possible in the body data of the WebhookRequest, use the value of id of the response of the original call?