Forum Discussion

BLincoln's avatar
BLincoln
New Contributor
11 years ago

"Contains" assertion is not working for my project

I have a 1 soap call in a test plan in a loop - this soap call gets called 3 times.
But each has a different number of messages that are returned in the response. Call #1 may have 3 returned, but #2 has 5 returned. I cant use the contains assertion, since each loop has a different number of response values. What else can I use?
Thanks

1 Reply

  • Hi,

    Use a Groovy script assertion with the contains string method, or any other string method to check for the other values. The contains assertion should be able to accomplish this but the | (or) doesn't seem to be working.



    Regards,
    Marcus
    SmartBear Support