Forum Discussion
nmrao
Champion Level 3
Can you show the input response, and expected data that you want to compare?
Can't image what exactly you are talking about.
Can't image what exactly you are talking about.
JamesChorus
8 years agoNew Contributor
I've attached an image showing the json response, and then the List of individual assertions I added to ensure I'm being returned all expected fields.
As you can see, I've added the field assertions individually (32), which would have been quicker to have added all expected fields in one assertion.
- nmrao8 years agoChampion Level 3I would go for Script assertion in such case.
See if below example would fit the bill.
http://stackoverflow.com/questions/36631111/how-assert-parameter-name-without-value-using-groovy/36640507#36640507
Related Content
- 6 years agoyognsal