Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sadabnepal/apirestassuredtestngframework
API Test framework using RestAssured and TestNG.
https://github.com/sadabnepal/apirestassuredtestngframework
boilerplate- extentreports json-server listeners maven restassured-framework restassuredrestapi testng-framework
Last synced: about 1 month ago
JSON representation
API Test framework using RestAssured and TestNG.
- Host: GitHub
- URL: https://github.com/sadabnepal/apirestassuredtestngframework
- Owner: sadabnepal
- Created: 2021-12-06T17:42:04.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-18T18:00:44.000Z (almost 3 years ago)
- Last Synced: 2023-03-09T05:12:11.016Z (almost 2 years ago)
- Topics: boilerplate-, extentreports, json-server, listeners, maven, restassured-framework, restassuredrestapi, testng-framework
- Language: Java
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API Automation Test framework
API Automation Test is RestAssured based TestNG framework to perform API testing.### Pre-requisite
![Java](https://img.shields.io/badge/-Java%20JDK-%23007396?logo=java&logoColor=black&)
![Maven](https://img.shields.io/badge/-Maven-C71A36.svg?logo=Apache&logoColor=white)
![NodeJs](https://img.shields.io/badge/-NodeJS-%23339933?logo=npm&logoColor=white)### Getting Started
```
1. git clone https://github.com/sadabnepal/APIRestAssuredTestNGFramework.git
2. Navigate to APIRestAssuredTestNGFramework
```### API Sources:
- Localhost: http://localhost:3000/
- ReqRes API: https://reqres.in/### Running Test
- Navigate to `src/main/app` folder and run below commands
- `npm install` to install required dependencies for local api (nodejs required)
- `npm start` to start local api server (leave the terminal opened)
- Open other terminal from root project folder and run `mvn test` OR
- Open project in code editor like eclipse or intellij idea ==> right click on testng.xml ==> run as testng.xml### Report Path
```
/reports/index.html
```### Sample Report
![image](https://user-images.githubusercontent.com/65847528/145385784-766415b6-9591-4055-ac18-6d44cd4bbe5e.png)