CA Application Test
CA Continuous Application Insight (PathFinder)
In the Virtual Service, If there is a META match, the response from the live system should be returned. Is there a way to accomplish this?
Virtual service returns a virtual response when exact conditions are met and META response for Signature match.
All supported DevTest environments
Add a new key/value to the META response meta data - IsMeta = true, and then in the VSM/ VS Image Response Selection step you can add an assertion to verify if you got the value isMeta=true.
Steps to follow:
In the VSI META response add new meta data key to be returned -> isMeta=true
<Please see attached file for image> height="228" src="https://communities.ca.com/servlet/JiveServlet/downloadImage/2-241912048-94263/pastedImage_2.png" width="636">
and then in the VSM/ VS Image Response Selection step you can add an assertion to verify if you got the value isMeta=true.
<Please see attached file for image> height="425" src="https://communities.ca.com/servlet/JiveServlet/downloadImage/2-241912048-94264/pastedImage_3.png" width="296">
Change the next step to go to the Live Invocation Step when it finds the string "isMeta=True".
When the META response is returned, the assertion will be fired and the request will be sent to the live system.