Hello, I am wondering if someone can help me. I am attempting to setup a wiremock where a request is stubbed with an approved response and unique transactionid. Then makes a postServeAction call to a webhook service with the response.transactionId in the payload. The problem is that the webhook server requires a certificate in order to make the connection. I am attempting to setup the certificate with https, but the original request does not need the certificate. is this possible? could someone step me through a configuration that would accomplish this?
So, in place of the postserveaction in the json stub file, I would put a rest Assured call? Is there documentation on how to do this?
06/22/2023, 12:54 PM
No, as I said 'thinking out of the box' 🙂 If you need some help with Rest Assured I think I'll be able to do that (although I've never set up a keystore).
You don't put the Rest Assured call in the JSON stub file, you put it in the definition of your custom extension that extends the PostServeAction