TesterVin
10 years agoOccasional Contributor
How to verify all the details in children nodes in response
[REST SERVICE] After running a get method, we're getting the response as list of users (in our case it's 30) with their complete information details like name,group,fname, lname and email. I need to verify all details of the all users with the help of datasource. How to accomplish this. Please help
Here, is the sample json response
"info" [
{
"username": "tester",
"defaultGroup": "Group1",
"firstName": "Admin",
"lastName": "Admin",
"emailAddress": "xxx@yahoo.com"
},
{
"username": "tester",
"defaultGroup": "Group2",
"firstName": "Admin",
"lastName": "test",
"emailAddress": "yyy@yahoo.com"
}
]
.... similarly it is displaying other child nodes
Here, is the sample json response
"info" [
{
"username": "tester",
"defaultGroup": "Group1",
"firstName": "Admin",
"lastName": "Admin",
"emailAddress": "xxx@yahoo.com"
},
{
"username": "tester",
"defaultGroup": "Group2",
"firstName": "Admin",
"lastName": "test",
"emailAddress": "yyy@yahoo.com"
}
]
.... similarly it is displaying other child nodes