How to differentiate between stub response and real response

Hi All,

We are trying to Parasoft Virtualize in our test env, use case is as follows,
If request data is found it in Data repository PS will send stub response back, but if data is not found it will forward the request to real endpoint, .
My query here is how to identify if the response came back is from PS (stub) or from real endpoint.
Is there a custom attribute we can add in the response to identify the diff.

thanks in advance


  • williammccuskerwilliammccusker Posts: 494 ✭✭✭

    Normally there is nothing in the response to indicate to the calling application if the response was from a virtual asset or from the live server. You could configure the responders in the virtual asset to add some extra data that doesn't come back in responses from the live service. For example an extra http header.

  • VirtualizeMeVirtualizeMe Posts: 3

    thanks williammccusker, i will test it out

Sign In or Register to comment.