Is there a way to learn only the positive response (with response code = 200 or 201) from Live Service if my VSM is deployed in Learning mode?In case of an error response (Response with Code 4xx or 5xx) from the Live Service, respond from the vsi. In case of this error response, I do not want the response added to the vsi in Learning mode.
Will appreciate your help and/or feedback.
Disclaimer: I have never tried this so there is no guarantee that it will work.
What about adding a Scripted Assertion into the Live Invocation Step?
Move the Assertion above the Learning Mode assertion so it executes prior.
if the live response's, meta data, http response code starts with "2" or "20" AND
if the lisa_vse_execution_mode = "LEARNING"
branch to the Responder step.