- Rest-Assured
- TestNG
- Jxl to extract data from Excel files
- Framework which runs test case multiple times with different input and validation values. These values should be in external souce file such as Json, Xml, Excel .. etc.
- Reduces the maintainability of the scripts.
- Makes it easy to add new test cases. To add new test cases
- Create Maven project
- Add Rest-Assured, TestNG and Jxl dependencies to the pom.xml file. You can find your dependencies here http://mvnrepository.com/
- Create DataDrivenTCs class and paste the attached code to it
- Add the attached Excel file to the project directory
- Run DataDrivenTCs class as TestNG Test
- test-output directory will be generated contains HTML and XML