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?