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.
Start Your ReadyAPI Trial Now
By submitting this form, you agree to our Terms
ReadyAPI is a suite of tools to help you ensure high quality, performance, and security in your APIs. One download gives you access to the features of each tool within a unified experience.
ReadyAPI supports REST, SOAP, GraphQL and IOT protocols
Choose your product to log in to