Ricardo Moura
05/22/2025, 2:14 AMRicardo Moura
05/22/2025, 2:14 AMurlPathPattern
of multiple requests, but I want to update my responses without having to do too manual steps (such as doing the request and paste the response over the .json file. I've tried removing the response file itself and even removing the bodyFileName
from the mapping file but it didn't work.
My question is: is it possible to set/remove any attribute from the mapping json to force it overwrite the current stubbed response or do I really have to do it manually?
The goal of this is to improve time (since there are multiple requests) and possibly reduce human error.
Hope I was clear with my question 🙏
Thank you all!Lee Turner
05/22/2025, 7:16 AMI've tried removing the response file itself and even removing the bodyFileName from the mapping file but it didn't work.
I am not sure what you mean.
I guess you could automate this somehow with the WireMock admin API. Get the response from the real server and up update the mapping file via the API ?Ricardo Moura
05/22/2025, 2:16 PMLee Turner
05/22/2025, 2:20 PM