Hi
This is from wiremock site:
"The following code will proxy all GET requests made to http://:/other/service/.* to http://otherservice.com/approot,"
but i want opposite of this
The following code should proxy all GET requests made to http://realsite.com/approot to http://local:/other/service and send the mock response
And also I should be able to programmatically disable such proxying. This way i can run my tests code against mock response and real response by passing flag.
Is it possible in WireMock. Anyother mocking solution in Java that meets this requirement?
somthing silimar to nock nodjs module (https://github.com/pgte/nock)
Thanks in advance.
KV