Forum Discussion

amirse's avatar
amirse
Contributor
7 years ago

Get data from previous step in virtual service (mock)

Hi, I have a GET REST service "https://intracomp.se/v1/state/${Properties 1#agreementId}/${StateDate#result}/tree". As you can see the service uses some properties from the previous test steps. My ...
  • AlexKaras's avatar
    7 years ago

    Hi,

     

    If I got your question right, you are using SoapUI for testing and would like that some request(s) are processed by ServiceV but not by the real server.

    If the above understanding is correct, then I can think of two options:

    a) Change the endpoint address for the required request so that SoapUI send it to the ServiceV instead of the real server;

    b) If for some reason the above is not possible, you may consider using the conditional routing functionality of ServiceV - https://support.smartbear.com/readyapi/docs/servicev/routing/conditional.html

     

    Does this help?