Forum Discussion

dpan's avatar
dpan
New Contributor
9 years ago

How to add assertion to each soap response from each entry of a datasource loop?

I am setting up a datasource loop from data connection, I want to add assertion to response of each loop. But in SoapUI the assertion can only be added at the last soap response. How do I add assertions to each datasource loop?

 

 

Thanks!

 

David

2 Replies

  • Hi, dpan

    The assertion is already added to each loop as you want. But you need to uncheck the check box 'Abort on Error' for the test case and run it again. You will see all the transaction log for each loop in you test case log.

    • dpan's avatar
      dpan
      New Contributor

      I found there is an assertion step to be added in which does not act as handy as the one in the response "add assertions" where the xpath is automatically added.

       

      Thank you.