Demo API Automation Test Framework
The framework can demostrate below capabilities,
- Validating Status code
- Validating api schema
- Validating array size of the api's
- Create data using a post request with a body ( I have used a random generated UUID technique to create unique data )
- Api utility methods ( This is to develop reusable api calling methods )
- Data model POJO classes ( This is json deserialization. This helps to bind data from Json and validate data effectively)
- Dynamic data passing from another endpoint and its validation ( This is also called as API chaining )
- Testng assertions
- Testng listeners to customize default testng reports.
- Maven build ( builds can run successfully )
- Emailable report ( This is the default report generated by Maven and TestNG. However we can integrate extend report library as well )
The project structure is,
TestNG test run results,
Maven test run results,
Emailable results