Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swatinerkar/api_restassured
API Automation Framework
https://github.com/swatinerkar/api_restassured
api-automation extent-report java lombok maven maven-surefire-plugin rest-assured rest-assured-framework rest-assured-library testng testng-framework
Last synced: 6 days ago
JSON representation
API Automation Framework
- Host: GitHub
- URL: https://github.com/swatinerkar/api_restassured
- Owner: swatinerkar
- Created: 2021-05-25T06:14:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-06T14:17:36.000Z (9 months ago)
- Last Synced: 2024-02-06T16:45:48.467Z (9 months ago)
- Topics: api-automation, extent-report, java, lombok, maven, maven-surefire-plugin, rest-assured, rest-assured-framework, rest-assured-library, testng, testng-framework
- Language: Java
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API Automation
This is a self study project created for REST API Automation. This can be helpful for begineer to understand API Automation.
For testing used Git APIs and https://reqres.in
Test Cases:
1. Get
a. Without params
b. with Path params
c. with Query params
2. Post
a. with run time field value updation in request body
## 🔖 Topics- [Tech Stack](#tech_stack)
- [Framework Demonstrates](#framework_demonstrates)
- [Demo](#demo)
- [About Me](#about_me)
- [Support](#support)
## 💪 Tech Stack- **Java** : 11
- **rest-assured** : 5.4.0
- **testng** : 7.9.0
- **lombok** : 1.18.30
- **com.typesafe.config** : 1.4.3
- **extentreports** : 5.1.1
- **json** : 20231013
- **javafaker** : 1.0.2
## 🛟 Framework Demonstrates* Builder Design Pattern
* Singleton Pattern
* Reporting
* testng library for TDD
* Added custom assertion
* Reading data from application.conf file using typeSafe config library
* Added custom AnnotationsImprovement Areas:
* Need to update framework to support parallel test cases execution
* Improve Exception Handling## 🚀 Demo
- Clone the repository
- One can run all test cases directly by running testng.xml file
- One can run via maven command e.g. mvn test
- One can run individual test case by marking other test cases enabled = false
- One can run individual test case via maven command
```
test -Dtest=FunctionalTest#getTestWithPathParam
```
- One can run any specific test group. Currently groups are git and reqres.## 🌐 About Me
I'm a Software Automation Tester, having 11+ years of experience.
Please have a look on my Portfolio: [@swatinerkar](https://swatinerkar.wordpress.com/)
My LinkedIn Profile: [@swatinerkar](https://www.linkedin.com/in/swatinerkar/)
If you would like to have some guidence, you can book any of my service: [@swatinerkar](https://topmate.io/swati_nerkar)
## 👯 SupportFor support, email [email protected]