Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chemyl/restassured_adequateshop
Lightweit hubrid framework for REST api resting
https://github.com/chemyl/restassured_adequateshop
inprogress rest-api restassured-framework testing-automation testing-tools
Last synced: about 1 month ago
JSON representation
Lightweit hubrid framework for REST api resting
- Host: GitHub
- URL: https://github.com/chemyl/restassured_adequateshop
- Owner: chemyl
- Created: 2023-05-20T11:51:07.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-17T15:58:04.000Z (about 1 year ago)
- Last Synced: 2023-12-17T16:43:27.897Z (about 1 year ago)
- Topics: inprogress, rest-api, restassured-framework, testing-automation, testing-tools
- Language: Java
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## **Lightweight and powerful hybrid framework for API testing**
===================================================================
#### Under construction
The project contains a suitable framework for easily testing and validation various types of rest-based service APIs.
* =>>> CRUD Requests
* =>>> JSON Schema Validation
* =>>> POJO Configuration
* =>>> Clear Routes architecture
* =>>> DDT with XLS to POJO
* =>>> DDT with @DataProvider
* =>>> Allure Surefire Report
* =>>> TestNG.xml file configuration
* =>>>#### Based on:
Java 11; Maven ; TestNG 7.7.1; RestAssured 5.3.0;#### Project structure:
src/test/java:
* /endpoints - contains Routes with all endpoints and ModuleEndPoints with specific implementation
* /payloads - may contain all necessary data and POJO classes
* /test - test-case implementation using ModuleEndPoints methods
* /utilities - softeners and helperssrc/test/resources:
* /schemas - files with json Schema originals
* /test_configs - additional framework configuration files* pom.xml - maven and dependencies configuration
#### Setting up:
1. Java 11 Required. goTo "Settings" > "Build, Execution, Deployment" > "Build Tools" > "Maven > Runner > JRE"
#### **Usage Examples:**
#### 2.1 Api testing workflow:
* =>>> Go to Routes.class and create your services and endpoints URLs
* =>>> Go to ModuleEndPoints.class and create Service/Manager methods with api implementation
* =>>> Create required POJO
* =>>> Go to /test create new testNG class and implement your test-cases by using Manager methods.
* =>>> Implement your dataFiles if required and connect to tests
* =>>> Configure testNG.xml file
* =>>> Run mvn test -Dsurefire.suiteXmlFiles=src/test/resources/customerModel.xml
* =>>> Take and analyze Allure report
* =>>>
#### 2.2 Documentation/Links:
#### 2.3 License: