Forum Discussion

ravichandra's avatar
ravichandra
Occasional Contributor
9 years ago

Data driven testing assertions

I am using 2 data source in my project one for excel and another one for JDBC.

 

I use excel data source as one source of input. I pass some values in excel data source to JDBC data source to retrive data from database. I pass some values from excel as an input for POST query I get web service response.

 

Data base shows output has mutiple rows.

 

The problem is when I try to add assertion to service response by comapring with JDBC data source output I am unable to select specific value in a column as a column contains multiple records. Ready API is taking only the top most value of the JDBC output.

 

I hope some one will give a accurate solution.

 

Thanks,

Ravi

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3

    May be attaching the responses and what values to be compared will help for better understanding of the issue.

     

    By the way, what kind of assertion you tried to add?