Rest Api Automation:Rest Assured,Serenity Bdd Framework

Posted By: ELK1nG

Rest Api Automation:Rest Assured,Serenity Bdd Framework
Last updated 7/2023
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 4.04 GB | Duration: 5h 28m

Build a robust REST API test automation framework/CI environment using Serenity BDD, Jenkins, Git

What you'll learn

Build reusable methods ,write different types of tests

Create Data Driven Tests

Execute Tests Faster by running them in parallel

Run selective tests JUnit using Tags

Publish amazing reports with logging of Request & Response Information

Write Cucumber Scenarios integrated with Serenity BDD

Commit code to Github

Implement CI by integrating project with Jenkins & GIT

Requirements

This course requires that the user has some basic programming knowledge in Java

Basic understanding of RESTful Services

Knowledge of Rest Assured Library

Description

In the 21st century, almost all web applications use web services to communicate or interact with each other. Most modern day web services are built on Representational state transfer (REST) architecture; REST has gained a lot of popularity and it will continue to do the same due to its simplicity in comparison with other technologies.

It is very important for software QA engineers, automation engineers and software developers to understand the importance of Web Services testing and more importantly how to automate these tests. Automating Application Program Interface (API) tests is critical and crucial for most projects due to the fact that API tests are far more stable, reliable and fast. 
To achieve this goal, using a Solid Robust Framework is very much necessary.
Serenity BDD  is an open source test automation framework which comes integrated with many popular libraries like Selenium, JUNIT, JBehave, Cucumber BDD, Rest-Assured which can be used to build a powerful API Automation framework. 
We will be focusing on the important topics listed below:
Build reusable methods, utility methods & organize them in packagesCreate Data Driven TestsExecute tests in ParallelGroup/Run Tests using TagsLearn to generate Test DataCreate Cucumber Scenarios,Steps,Tags & integrate with Serenity BDDCommit code to GithubCreate a CI environment by integrating project with Jenkins & Github

At the end of this course you will be able to build a robust API test automation framework using Serenity BDD & Rest-Assured combined with GIT & JENKINS

Overview

Section 1: Course WalkThrough

Lecture 1 Syllabus

Lecture 2 ****RATING THE COURSE EARLY ON****

Section 2: Environment Setup

Lecture 3 Java Installation on MacOS

Lecture 4 Maven Installation on MacOS

Lecture 5 Eclipse Installation on MacOS

Lecture 6 Java Installation on Windows

Lecture 7 Maven Installation on Windows

Lecture 8 Eclipse Installation on Windows

Section 3: Student Sample Application

Lecture 9 Starting the Student Sample Application

Lecture 10 IMPORTANT: For users using Java 17+

Lecture 11 Launching Student app docker image

Section 4: What is Serenity BDD?

Lecture 12 Introduction to Serenity BDD

Section 5: Creating a Framework Structure using SerenityBDD

Lecture 13 Setup Serenity BDD Project & configure pom.xml file

Lecture 14 Building the package structure

Section 6: Getting your feet wet with Serenity BDD

Lecture 15 Generate the first Serenity Build to execute tests

Lecture 16 Understanding different Test outcomes in Serenity BDD

Section 7: Organizing Requirements in Serenity

Lecture 17 Creating folder structure hierarchy to generate requirements

Section 8: CRUD Tests for Student App using Serenity features

Lecture 18 Using @Title annotations to provide meaningful names

Lecture 19 Prioritizing Test Order in JUNIT

Lecture 20 Drawback of writing rest-assured logic in Junit tests

Section 9: Building Reusable methods using @Step,@Steps annotation in Serenity

Lecture 21 Understand the use of @Step,@Steps to generate excellent reports

Lecture 22 Building more re-usable methods

Section 10: Request,Response Specification

Lecture 23 Create Reusable specifications to minimize code repitition

Section 11: DataDriven Tests in Serenity BDD

Lecture 24 Building data driven test model using Serenity BDD features

Lecture 25 Creating Mock Data using Mockaroo service

Section 12: Parallel Execution to execute tests FASTER!!

Lecture 26 @Concurrent,@Thread annotations to speed up data driven tests

Lecture 27 Configure ForkCount to execute Test Classes in parallel

Section 13: Grouping Tests in Serenity BDD

Lecture 28 @WithTag, @WithTags to group selective tests

Section 14: Checking code to GIT/GITHUB

Lecture 29 Installing Git on system

Lecture 30 Basic Git Commands,Checkin Project to local repository

Lecture 31 Pushing code to Remote Repository (GITHUB)

Section 15: Integration between JENKINS,GIT & SERENITY Project

Lecture 32 Installing Jenkins on System

Lecture 33 Creating Jenkins job to build Serenity Project

Lecture 34 Configuring Jenkins for displaying Serenity Reports

Section 16: Cucumber with Serenity BDD

Lecture 35 Adding Cucumber dependencies in Serenity Project

Lecture 36 Creating Scenarios,Step Definitions

Lecture 37 Scenario Outline for executing a scenario multiple times

Lecture 38 Tagging Scenarios in Cucumber

Lecture 39 Cucumber Project code

QA Engineers who want to learn how to use an API automation Framework,Software engineers,SDETS who want to learn a new Test Automation Framework