krispokkuluri
4 years agoOccasional Contributor
How do we handle empty string dynamically in assertions in ReadyAPI
ERROR: An error occurred [empty String], see error log for details
Hi i have a need to validate two data sources using nested loop on multiple records in several tables Steps
- Build a Rest Request
- get the datasource
- getting the data from db as expected result
- write a groovy script inorder to get a value to be validated with db
- Asert the values are equal
Issue : I have multiple empty values in the data sources from the api(actual value) and expected value db Question : When i run my script i am getting this error ERROR: An error occurred [empty String], see error log for details for empty values asserted . Please help as i am on a deadline and am aunable to find a solution online .