Data-driven testing is when you store test data (inputs, requests, parameters, results, etc.) in some external storage (spreadsheet, XML, etc) and then use that data to drive them automatically. For example, to test your phone lookup service, you might have a list of names and their related phone numbers in a spreadsheet. You can hook up the spreadsheet to your test so you can use that data to 'drive' your tests, checking that each name gets the right phone number back. In ReadyAPI, creating data-driven tests comprise three basic elements:
ReadyAPI includes a DataSource TestStep for reading test data from a number of external sources (Excel files, XML properties, JDBC sources, files/directories, etc.) and converting them into standard ReadyAPI properties.
You can then use Property Transfer or Property Expansion to use that data in other TestSteps for requests, assertions, xpath-queries, scripts, and so on.
Then you use the DataSource Loop TestStep to loop back over the previous TestSteps for each row or record in the DataSource.
Try ReadyAPI
Start Your ReadyAPI Trial Now
By submitting this form, you agree to our Terms of Use and Privacy Policy
ReadyAPI is an easy-to-use no-code API Testing platform designed to streamline your testing workflows.
Download your free trial for full-access to all testing features.