https://github.com/anhtester/restassured-testng-examples
Learning project API Test Automation using REST Assured and TestNG 2022 | Anh Tester
https://github.com/anhtester/restassured-testng-examples
anhtester api-testing rest-assured test-automation testng-framework
Last synced: 7 months ago
JSON representation
Learning project API Test Automation using REST Assured and TestNG 2022 | Anh Tester
- Host: GitHub
- URL: https://github.com/anhtester/restassured-testng-examples
- Owner: anhtester
- License: apache-2.0
- Created: 2022-09-30T20:46:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-30T23:49:09.000Z (over 3 years ago)
- Last Synced: 2025-04-04T03:11:52.969Z (about 1 year ago)
- Topics: anhtester, api-testing, rest-assured, test-automation, testng-framework
- Language: Java
- Homepage:
- Size: 27.3 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://opensource.org/licenses/Apache-2.0)
[](https://github.com/anhtester/restassured-testng-examples/actions/workflows/maven.yml)
## REST Assured Examples | Anh Tester
### Hello Everyone !!
This project is the outcome of my self-learning of the API Testing Automation Framework using REST Assured. I heard a lot about Rest-Assured and how it made the QA's life easier by helping them to run all the API tests in an efficient way. Hence, I started learning about the framework and have documented all my learnings in this repository.
### What does this repository contain?
- Example codes of API Tests using Rest-Assured.
- Hamcrest Matchers are used for assertions.
- TestNG Listeners are used to capture the events in logs.
- Log4j is used to capture logs.
- Extent Report
- Lombok has been used to generate Getter and Setters automatically for post body requests.
- Rest APIs on https://reqres.in/ has been used for testing.
### Other features
- I have covered, `GET`, `POST`, `PUT`, `PATCH` and `DELETE` requests.
- Sample code to handle the `authentication` requests have also been added.
### Run Test
- Using command: `mvn clean test`
### Contact Me
- Website: https://anhtester.com