AnsweredAssumed Answered

Trigger HTTP Request from Virtual Service

Question asked by VenkataDigavalli62134966 on Oct 7, 2015

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.

Outcomes