how to redirect to ca dev virtual service when real service fails based on there status code.
We have an option in CA dev test to get virtual response if no response from live system(failover).
But, i need to get exception when the status code is 500, 501... and i need to get virtual response when status code is 400, 401...
How can i customize?
Need to add some more steps in VSM?