Ho do I intercept wiremock request to replace its entire body with new body

Viewed 61

I am getting wiremock request which is in encrypted format (either whole body or some fields). I wanted to create a wiremock extension which intercepts wiremock request and replaces encrypted body with decrypted body content (received by calling http post request for decryption). This helps me to create a generic solution to decrypt all incoming wiremcok requests so that matchers can work on decrypted data.

1 Answers
Related