https://github.com/ahmedkhaled14/restassuredpractice
Rest Assured Practice API Test Automation for 2 Rest APIs ==> 🌐 FakeRESTApi & 🌐 RestfulBookerApi
https://github.com/ahmedkhaled14/restassuredpractice
allure-report api apitest datadriventesting restassured-framework testautomation testng-framework
Last synced: 2 months ago
JSON representation
Rest Assured Practice API Test Automation for 2 Rest APIs ==> 🌐 FakeRESTApi & 🌐 RestfulBookerApi
- Host: GitHub
- URL: https://github.com/ahmedkhaled14/restassuredpractice
- Owner: ahmedkhaled14
- Created: 2023-03-07T14:32:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-21T07:52:40.000Z (almost 2 years ago)
- Last Synced: 2025-02-02T09:31:18.207Z (4 months ago)
- Topics: allure-report, api, apitest, datadriventesting, restassured-framework, testautomation, testng-framework
- Language: Java
- Homepage: https://www.linkedin.com/feed/update/urn:li:activity:7061347132842139649/
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
# ✨ Rest Assured Practice ✨* 🌐 **[FakeRESTApi](https://fakerestapi.azurewebsites.net/index.html)**
* 🌐 **[RestfulBookerApi](https://restful-booker.herokuapp.com/apidoc/index.html)**
### 📝 The main Frameworks included in the project:
* RestAssured
* TestNG
* Allure Report
### 🎨 Project Design:* Object Model design pattern
* Data Driven framework
* Java Docs
### 🏗️ Project Structure

#### 🔊 this project included#### 📦️ 3 packages in src/main/java
* FakeRestApi ( object Model Design )
* Restfulbooker ( object Model Design )
* Utils ( used to read data from external json file )
#### 📦️ 3 packages in src/test/java
* FakeRestApiTest ( object Model Design )
* RestfulbookerApiTest ( object Model Design )
* Practice ( linear Design )
#### 🧱 2 folders in src/test/resources/TestData
* ActivitiesTestData
* BookingTestData
#### ⚗️ 2 xml files
* pom.xml ( XML file that contains information about the project and configuration details used by Maven to build the project)
* testng.xml ( is the configuration for TestNG testing framework ( defining test suite )
### 🗃️ Documentation
* **[Rest-Assured Docs](https://rest-assured.io/)**
### 🚧 Requirements* Java JDK-19
* RestAssured 5.3.0
* Maven### 🚀 Running Tests
### Run All tests open a terminal on the project root path:
1. Run API tests:
` mvn clean test`
2. Generate reports:
`mvn allure:serve` or `allure serve`- ### 📄 Allure Report:
