Service Virtualization

 View Only

Trigger HTTP Request from Virtual Service

  • 1.  Trigger HTTP Request from Virtual Service

    Posted Oct 07, 2015 01:01 PM

    I have a requirement where the Client initially establishes a HTTP session and sends a JSON/HTTP request to the virtual service. Virtual service need to respond back with a JSON/HTTP response. 

    After that, the virtual service needs to trigger a JSON/HTTP request to the client and consume the HTTP 200 response back using the same HTTP session initially established by the client.

    I can try to put a “HTTP/HTMP Request” step after the "Respond" step in the VSM and send a POST request to trigger this request back to client, but not sure if it uses the same HTTP session initially established by the client.

     

    Please let me know if these is any other way to implement this solution.