AnsweredAssumed Answered

How to Route the request to live invocation URL if the request data doesn't match

Question asked by kishore2310 on Aug 28, 2016
Latest reply on Aug 30, 2016 by Joel NeSmith

Using DevTest 8.0.1, I am trying to Route the request to live invocation URL if the request data doesn't match.

 

Right now I am able to route the request to real backend URL provided in the live invocation step when the request structure doesn't match. But I need it to do the same when request data doesn't match with any requests configured in that image. Currently if request data doesn't match then it responds with the default response configured in 'META'.

 

I already tried changing 'HTTP-Response-Code' in the default response meta data to 404 hoping it would route to live invocation instead of sending default response but that did not happen. I still get default response from the image.

 

Any suggestions on how I can make it route the request to live invocation instead of returning default response when the data in request doesn't match with any transaction in the image.

 

 

Thanks,

Kishore

Outcomes