Forum Discussion
ak0032803
13 years agoContributor
I Got Pro Now.
NOw I am facing follwing problem
- I am fetching data from database e.g Customer names for each orgnization
Data looks Like
Row 1 -Rahul
Row 2 - Archana
There might be multiple rows for this.
Now in response I am getting something like -
<A:ORG>
<A:Cutomer>
<A:CustomerName>Archana</A:CustomerName>
</A:Cutomer>
<A:Cutomer>
<A:CustomerName>Rahul</A:CustomerName>
</A:Cutomer>
</A:ORG>
Each time the order might be different. I want to validate like Customer name which is in response is same as database name which is fetched in datasource step from database.
As the order might change; how we can validate this through assertions?
NOw I am facing follwing problem
- I am fetching data from database e.g Customer names for each orgnization
Data looks Like
Row 1 -Rahul
Row 2 - Archana
There might be multiple rows for this.
Now in response I am getting something like -
<A:ORG>
<A:Cutomer>
<A:CustomerName>Archana</A:CustomerName>
</A:Cutomer>
<A:Cutomer>
<A:CustomerName>Rahul</A:CustomerName>
</A:Cutomer>
</A:ORG>
Each time the order might be different. I want to validate like Customer name which is in response is same as database name which is fetched in datasource step from database.
As the order might change; how we can validate this through assertions?