Rest Api Automation With Rest Assuredserenity Bdd Framework

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

Last updated 2022-01-10 | 3.7

- Build reusable methods
- write different types of tests
- Create Data Driven Tests
- Execute Tests Faster by running them in parallel

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 packages
  • Create Data Driven Tests
  • Execute tests in Parallel
  • Group/Run Tests using Tags
  • Learn to generate Test Data
  • Create Cucumber Scenarios,Steps,Tags & integrate with Serenity BDD
  • Commit code to Github
  • Create 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

Who this course is for:

  • 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

Course content

16 sections • 39 lectures

Syllabus Preview 01:36

****RATING THE COURSE EARLY ON**** Preview 00:21

Java Installation on MacOS Preview 05:15

Maven Installation on MacOS Preview 04:33

Eclipse Installation on MacOS Preview 02:31

Java Installation on Windows Preview 04:55

Maven Installation on Windows Preview 03:50

Eclipse Installation on Windows Preview 02:38

Starting the Student Sample Application Preview 07:00

IMPORTANT: For users using Java 9 Preview 00:05

Launching Student app docker image Preview 04:49

Setup Serenity BDD Project & configure pom.xml file Preview 12:50

Building the package structure Preview 05:54

Generate the first Serenity Build to execute tests Preview 18:37

Understanding different Test outcomes in Serenity BDD Preview 17:49

Creating folder structure hierarchy to generate requirements Preview 09:43

Using @Title annotations to provide meaningful names Preview 16:32

Prioritizing Test Order in JUNIT Preview 22:13

Drawback of writing rest-assured logic in Junit tests Preview 02:24

Understand the use of @Step,@Steps to generate excellent reports Preview 14:03

Building more re-usable methods Preview 07:54

Create Reusable specifications to minimize code repitition Preview 13:17

Building data driven test model using Serenity BDD features Preview 14:43

Creating Mock Data using Mockaroo service Preview 06:26

@Concurrent,@Thread annotations to speed up data driven tests Preview 06:11

Configure ForkCount to execute Test Classes in parallel Preview 13:42

@WithTag, @WithTags to group selective tests Preview 11:45

Installing Git on system Preview 02:46

Basic Git Commands,Checkin Project to local repository Preview 13:27

Pushing code to Remote Repository (GITHUB) Preview 07:38

Installing Jenkins on System Preview 03:33

Creating Jenkins job to build Serenity Project Preview 19:47

Configuring Jenkins for displaying Serenity Reports Preview 03:58

Adding Cucumber dependencies in Serenity Project Preview 04:36

Creating Scenarios,Step Definitions Preview 17:22

Scenario Outline for executing a scenario multiple times Preview 15:53

Tagging Scenarios in Cucumber Preview 03:48

Cucumber Project code Preview 00:00