When i am looping my test case, all the steps are basically dbase calls only and output of step 3 is also from a table and in the first iteration I am getting few fields & they are asserted using xpath assertion But when i iterate it, input data for step3 changes and now I have 3 different fields in the same step(Step3) which i need to assert It is like execution step3 is same, but it is displaying different output in the same column, because of my input data And my requirement is, I need to assert all the elements using xpath match assertion I am sure it can be achieved by Groovy script, wondering if in this flow I can be able to use readyapi existing components
Any help which leads to a direction is highly appreciated.
Please let me know, if it needs more clarification.
No it is not a copy paste issue, my expected data is changing, however my actual landing data is being saved in the same column of the database
Few other questions - how many rows in each iteration? fixed? varies?
[Anand] : If I understand it correctly, you are asking abt the response -if it is, then it is fixed - how does a data source row appears for each iteration, assuming that this data is used to verify response.
[Anand] : Here is the caveat..the datasource row is changing based on type condition
for eg row 1 : is having 10 column data --( col1, col2, col3, ........col10)
row2 : is having 10 columns data - but out of that 3 columns are different( col1, col2, col13,col14,col15 ..)