rajatt95 / MasterRestAssuredFramework

Automation Testing | RESTful webservices | Java | RestAssured | OAuth 2.0 | Lombok | TestNG | Maven | ExtentReport | Allure Reports | Java mail API | Design Patterns (Singleton) | Jenkins | Data-Driven Testing using JSON file | Expected Data using XML file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MasterRestAssuredFramework

With further updates - This project is designed and developed with the help of -

  1. Udemy course (OmPrakash Chavan - REST Assured API Automation + Framework: From Zero to Hero!)
  2. YouTube playlist (Testing Mini Bytes)

image

Updations done:

ExtentReports V5

  1. User can apply the Filters -
  • Author - Rajat, Nishant, Gautam, Pankaj
  • TestType - Smoke, Sanity, Regression, BVT
  1. Screenshots are attached in the ExtentReport as Base64 format. image image

Allure Reports image

User has options for customization image

Email to User(s) using Java mail API image

Others implementations:

  1. Retry failed test cases
  2. Custom Enums, Exceptions, Annotations
  3. Serialization and Deserialization using Jackson-Databind dependency
  4. Zip the ExtentReports directory into Project path (you can send this Zip file as well as an Attachment in Email)
  5. Automatically open the report after tests execution.
  6. Request and Response details added in ExtentReports:
  7. Send EMail using Java mail API to User(s) with attachment(s).

How to run the Project from Local machine

  1. Pull the code into your machine and import in IDE (Eclipse/intelliJ).
  2. Go to testng_Local.xml -> Run this file as TestNG suite It should start the execution -> Parallel Testing.
  • NOTE: stg_config.properties is the default configuration file.
  1. To view the Allure reports
  • Setup the Allure in your machine
  • Go to URL (https://docs.qameta.io/allure/) -> Search for Manual installation -> Steps are mentioned
  • Go to your project location
  • Open command prompt -> allure serve allure-results

How to run the Project from Jenkins __Final-OC_RestAssured-Github-ActiveChoiceParams.pdf image

Email to User(s) using Jenkins:

  1. You can refer: https://www.youtube.com/watch?v=MFgbp00hbVI&ab_channel=Mukeshotwani image

About

Automation Testing | RESTful webservices | Java | RestAssured | OAuth 2.0 | Lombok | TestNG | Maven | ExtentReport | Allure Reports | Java mail API | Design Patterns (Singleton) | Jenkins | Data-Driven Testing using JSON file | Expected Data using XML file


Languages

Language:HTML 74.3%Language:Java 25.7%