Hi Team, I have a specific requirement where I am ...
# help
m
Hi Team, I have a specific requirement where I am proxying some requests to another server but before that I want to change some of the values in the request xml body. I cant find examples to do that. Can someone help with some code examples? I use json mappings for all my wiremock needs and run a standalone server
t
Hi @Monideep Roychowdhury you would need to write a
StubRequestFilter
implementation and register it as an extension in order to do this. Take a look at https://wiremock.org/3.x/docs/extending-wiremock/ for details
m
Thank you Tom... I will work on it
Is there a way to add the stubRequestFilter to one mapping only