Skip to content

Latest commit

 

History

History
64 lines (60 loc) · 3.86 KB

README.md

File metadata and controls

64 lines (60 loc) · 3.86 KB

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