Forum Discussion

BLincoln's avatar
BLincoln
New Contributor
11 years ago

DataSource Loop question

Basically my test case is:
- DataSource - selecting from a table, 2 rows, each row has an ID and 8 values to insert into soap reqest
- Soap request with those 8 values populated from data from DataSource
- Data Source Loop back to DataSource


ID 1 from the DataSource is expecting back 5 message values returned. So I added 5 content assertions to validate the response. So that works. The loop runs, and on ID 2 from DataSource I am expecting back only 3 message values (which I get). But those 2 extra assertions now fail the test (since they are not in the response message on ID 2).

Hopefully someone can help. Thanks.
  • nmrao's avatar
    nmrao
    Icon for Champion Level 2 rankChampion Level 2
    Check if you can use sript assertion where you may have control.