Service Virtualization

Expand all | Collapse all

Hold the Async Messages and trigger later

  • 1.  Hold the Async Messages and trigger later

    Posted 03-13-2019 08:49 AM

    Hi All,

     

    I've a requirement like below, please suggest me the best way to achieve it.

     

    For a request, VS has to trigger 1 sync response and 7 async response messages.

     

    But, after triggering the one Sync & two async messages, VS has to wait for another request message (like confirmation) , then it has to send the third async message. Now again, the VS has to wait for the new request message (like confirmation) , then it should send the fourth async message.. Like this the remaining async messages has to be trigger only after the new request messages is received to the VS.

     

    Please find the below details for reference.

     

    Transfer Protocol: HTTP/S

    Data Protocol: XML

     

    P.S: Same request message will trigger, before the async messages.



  • 2.  Re: Hold the Async Messages and trigger later

    Posted 03-13-2019 03:01 PM

    I found this Communities post that seems to be similar to what you are wanting:

     

    https://communities.ca.com/message/241967712-re-requirement-to-create-a-vs-with-one-request-response-two-or-more-respons… 

     

    Not sure if it helps.



  • 3.  Re: Hold the Async Messages and trigger later

    Posted 03-14-2019 09:47 AM

    Hi Marcy,

     

    My requirement is different from the shared post. Please find the below details

     

    1. Request ------------------> Sync Response

    2. Async Request 1

    3. Async Request 2

    4. <wait for Another Request Message>

    5. Async Request 3

    6. <wait for Another Request Message>

    7. Async Request 4

    8. <wait for Another Request Message>

    9. Async Request 5

    10.<wait for Another Request Message>

    11. Async Request 6

    12. <wait for Another Request Message>

    13. Async Request 7

     

    Please help on thisJ_NeSmith Will_Truong