API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other. This API framework is developed using REST Assured. REST Assured is a Java library that provides a domain-specific language (DSL) for writing powerful, maintainable tests for RESTful APIs.
For Demo purpose all the test cases are created for Swagger Petstore API.
- It generates Extent reports with all the step details.
- It support parallel execution of API test cases.
- It generates test execution log file. Log files will generated in separate files in parallel runs. So it is easy to go through logs in parallel run.
- Test execution can be triggered form command line.
- Easy integration to CI/CD pipeline.
- Java should be installed and configured.
- Maven should be installed and configured.
- Download the files from Git repository either as zip file OR using Git.
Open the command prompt and navigate to the folder in which pom.xml file is present. Run the below Maven command.
mvn verify
Once the execution completes report will be generated in below folder structure.
Extent Report: /test-output/APIExecutionReport.html