Skip to content

Nagraggini/reqres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Top Language Rest Assured License

REST API Tests: Reqres

This repository contains an automated REST API test suite for the Reqres API.

The project demonstrates API testing using REST Assured, JUnit 5, Maven.

Toolbox

  • Programming language: Java 21
  • Test automation framework: JUnit 5
  • API testing framework: REST Assured
  • Build tool: Maven

Requirements:

  • JDK 21+
  • Maven 3.x
  • Internet connection

To run the tests, execute:

On Linux: ./mvnw clean test

On Windows: mvnw clean test

To run a single test:

./mvnw -Dtest=UserListTest#getUserListFromSecondPage test

Covered Test Scenarios

  • GET pet by ID
  • POST create new pet
  • PUT update existing pet
  • DELETE pet
  • HTTP status code validation
  • Response body validation
  • JSON schema/content validation
  • Positive and negative test cases

About

API test automation framework developed with Java and REST Assured, targeting the ReqRes API.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages