Skip to content

VinayKumarBM/API-framework-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API-framework-sample

Overview:

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.

Some of the key features of this framework:

  1. It generates Extent reports with all the step details.
  2. It support parallel execution of API test cases.
  3. 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.
  4. Test execution can be triggered form command line.
  5. Easy integration to CI/CD pipeline.

Required Setup :

  • 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.

Running Test:

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages