AnsweredAssumed Answered

Responding with 1 rsp followed by another rsp for 1 req

Question asked by SCTrojan07 on Jul 6, 2016
Latest reply on Jul 7, 2016 by sursu06

Hi everyone,


I have to virtualize a JSON req, which has 2 rsps - rsp1 and rsp2. The goal is to setup the VSE in such a way that when a req comes in, VSE should send rsp1, then after 10 seconds, send rsp2. So far, the VSE is able to respond with just rsp1.


Also, in the responses, I have to provide the current time-stamp (example: 2016-07-06 T 04:15:52.063) . I tried passing the values through config file, and tried parameterizing the timestamp in the VSI, and neither worked.


Can someone provide any tips on how I can accomplish the above two?