Forum Discussion
Hi Rao,
I am also trying to do what the original user was asking. This is where you have your request set up, You are on the Assertions tab, and you wish to add in multiple/a list of assertions in One "Contains Assertion" check.
So, how do you separate each value you wish to check for? OR are you only able to add one Contains Assertion value per Assertion?
Thanks, James
- JamesChorus9 years agoNew Contributor
Thanks Rao.
It was simply a case where I wished to check a list of field were being returned within my json response, and creating individual assertions for each field is a lengthy step.
I'm sure there is a quicker way to check a list of results, but as a new user to the tool, I'm yet to discover how to.
- nmrao9 years agoChampion Level 3Can you show the input response, and expected data that you want to compare?
Can't image what exactly you are talking about.- JamesChorus9 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.
Related Content
- 7 years ago
Recent Discussions
- 22 days ago