Hi, if I have a stub that has the following request url pattern: "^/test/(AB|CD|EF)$", and in the response I have proxyUrlPrefixToRemove: {{request.url}} why does this not work? Basically all I want it to do is, remove the prefix: /test/AB or /test/CD or /test/EF according to the matched request url.
I also tried setting proxyURlPrefixToRemove to: /test/{{request.pathSegments[1]}} and that did not work either. Do I need a custom transformer for this or does Wiremock support this?
can someone please help me with a solution to this problem? Thanks!