Service Virtualization

Expand all | Collapse all

STAND_IN, Live invocation if response exists

Jump to Best Answer
  • 1.  STAND_IN, Live invocation if response exists

    Posted 04-27-2018 10:00 AM

    Hi All,


    I have to create a VS with one operation /myOpe?param=value


    For one value, I have to use the response stored in the VSI.

    For others values, I want to use "Live invocation" step.


    To do this, I have used a DPF "Request Data Copier" and a scripted assertion in order to check param value, and route either to "VS Image Response Selection" or to "Live Invocation".


    Is there a best way to do it ? 


    I was looking for a simplest way like Ignore Meta Response in Virtual Services but now it just an idea.





  • 2.  Re: STAND_IN, Live invocation if response exists
    Best Answer

    Posted 04-27-2018 11:58 AM

    Hi Benoit,


    One limitation of the concept of "execution modes" is that Live vs. Virtual can't be natively selected based on the virtual response selected.


    So, I think what you're doing is the best approach.  The request data copier might not be necessary (since you have to write a script anyway), but you're going down the best path.


    This is precisely how I've solved it at a number of customers, so it seems making it native to the product is a reasonable feature request.