Forum Discussion
Unibet_Support
13 years agoContributor
Yes.That absulutely makes sense but i couldnt get that working.The onrequest script doesnt get trigerred because of this condition in the dispatchrequest method of mockaswarservlet.
So in our case,lets say path info is /offering/api/v2/ub/service1/response.json and mockRunner.getMockService().getPath() gets evaluated to /offering/api/v2/ub
So the equality of the statement makes sure that the mockrunner cant be retrieved?
Am i missing anything here?
Thanks
if( pathInfo.equals( mockRunner.getMockService().getPath() ) )
So in our case,lets say path info is /offering/api/v2/ub/service1/response.json and mockRunner.getMockService().getPath() gets evaluated to /offering/api/v2/ub
So the equality of the statement makes sure that the mockrunner cant be retrieved?
Am i missing anything here?
Thanks