ahmedkhaled14 / RestAssuredPractice

Rest Assured Practice API Test Automation for 2 Rest APIs ==> 🌐 FakeRESTApi & 🌐 RestfulBookerApi

Home Page:https://www.linkedin.com/feed/update/urn:li:activity:7061347132842139649/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test-light

✨ Rest Assured Practice ✨

πŸ“ The main Frameworks included in the project:

  • RestAssured

  • TestNG

  • Allure Report

🎨 Project Design:

  • Object Model design pattern

  • Data Driven framework

  • Java Docs

πŸ—οΈ Project Structure

rest

πŸ”Š 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

🚧 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:

api

About

Rest Assured Practice API Test Automation for 2 Rest APIs ==> 🌐 FakeRESTApi & 🌐 RestfulBookerApi

https://www.linkedin.com/feed/update/urn:li:activity:7061347132842139649/


Languages

Language:Java 100.0%