Hi, I am trying to find if the callback feature su...
# general
a
Hi, I am trying to find if the callback feature supports retries. We are using wiremock as a simulator in failure testing to simulate asynchronous calls using callbacks, and we want to have wiremock do retries if the service happened to fail or timeout. I read the docs and tried to google it but could not find an answer. Thanks.
l
I don't think webhooks support retries out of the box. You can see the response that the webhook gets back in the SubEvent for the request but not sure how useful that will be - https://wiremock.org/docs/webhooks-and-callbacks/#observing-webhook-events There might be something you can do with a
WebHookTransformer
if you wanted to implement something yourself - https://wiremock.org/docs/webhooks-and-callbacks/#extending-webhooks
a
Thanks