yerra16
5 years agoNew Contributor
Multiple assertions usage in single test case for different Json nodes
Our client request is to validate all the responses using assertions in single test case, first name is having one type and last is having another type of validation how can we do all assertions in single test case?
We are fetching the data from excel sheet having the bunch of test data with different combinations, When first name validation is fetched the test case is passed in the next iteration while validating the value for last name the assertions is failed, can anyone help?
- One can have any number of assertions for a test step. That is how usually the use cases will be.
Otherwise, have a verified (master) response and compare with response using programming.