Forum Discussion
JamesChorus
New 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.
nmrao
8 years agoChampion Level 3
I 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
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