Forum Discussion

TomaszSkalski's avatar
TomaszSkalski
Occasional Contributor
6 years ago

Loop trough multiple Soap and Rest requests

Hi guys,   I'm new to Soap UI and testing with it. I work for a company who is using soap and rest requests for sending messages between few applications. At the moment are queue system is being ...
  • Lucian's avatar
    Lucian
    6 years ago

    Well that is tehnically possible using a groovy script but I guess maybe you could do it a little bit differently by restructuring your tests.

     

    What do you mean by 'first message'? Are you using a datasource to loop through your steps? If so, can't you merge the two test cases to have something like:

     

    - loop

    -- send message 1 (old test case 1)

    -- extract whatever data you need

    -- send message 2 (old test case 2)

    - endloop