Forum Discussion

VJ99's avatar
VJ99
New Contributor
2 years ago
Solved

Intercepting the response(from the actual host) in virtual service to verify if its a negative

Here is my scenario:

Create a virtual service that forwards the incoming request to the actual host (always) ,

Upon receiving the response from actual host, then my virtual service should be able to intercept the response from actual host. Review the response for any errors. If there are errors then return a default(positive) response from within the virtual service. Is this possible to do with service virtualization(readyAPI). 

If its possible, what options I can go with ?