SCTrojan07

Responding to a JSON req with 2 rsps spaced a few seconds apart

Discussion created by SCTrojan07 on Jul 6, 2016
Latest reply on Jul 14, 2016 by SCTrojan07

Hi everyone,

 

I have to virtualize a JSON req which has 2 responses - rsp1 and rsp2. The VSE should be setup in such a way that when a request comes in, rsp1 should be sent, followed by 10 seconds wait time, and then send rsp2. I am able to send rsp1 for now.

 

Also, both the responses should have the current time stamp. I tried passing time stamp through config file and parameterizing directly on the VSI, and neither worked.

 

Any tips on how the above 2 can be accomplished? Your help is greatly appreciated.

Outcomes