Forum Discussion

pradeepch's avatar
pradeepch
Occasional Contributor
14 years ago

Wait for multiple responses from async web service

I have a async web service which invokes multiple callbacks to the client. In soapUI the mock response port is closed immediately after first response.

How do I make it wait for certain period to accept other response messages before closing ?

2 Replies

  • pradeepch's avatar
    pradeepch
    Occasional Contributor
    Can anybody guide me on this ? I am stuck on it. Please help.

    Thanks in advance.
  • M_McDonald's avatar
    M_McDonald
    Super Contributor
    Do you have a fixed number of callbacks? If so you can create the same number of Mock Response steps, and set the Start Step for each to the same preceding step; they will all be listening at the same time and the test case will not proceed until each has received a message (or timed out.)