4.16 out of 5
4.16
334 reviews on Udemy

REST API Automation:REST Assured,Serenity BDD Framework

Build a robust REST API test automation framework/CI environment using Serenity BDD, Jenkins, Git
Instructor:
Tejasvi Hegde
2,224 students enrolled
English [Auto-generated]
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

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

Course WalkThrough

1
Syllabus

Environment Setup

1
Java Installation on MacOS
2
Maven Installation on MacOS
3
Eclipse Installation on MacOS
4
Java Installation on Windows
5
Maven Installation on Windows
6
Eclipse Installation on Windows

Student Sample Application

1
Starting the Student Sample Application
2
IMPORTANT: For users using Java 9

What is Serenity BDD?

1
Introduction to Serenity BDD

Creating a Framework Structure using SerenityBDD

1
Setup Serenity BDD Project & configure pom.xml file
2
Building the package structure

Getting your feet wet with Serenity BDD

1
Generate the first Serenity Build to execute tests
2
Understanding different Test outcomes in Serenity BDD

Organizing Requirements in Serenity

1
Creating folder structure hierarchy to generate requirements

CRUD Tests for Student App using Serenity features

1
Using @Title annotations to provide meaningful names
2
Prioritizing Test Order in JUNIT
3
Drawback of writing rest-assured logic in Junit tests

Building Reusable methods using @Step,@Steps annotation in Serenity

1
Understand the use of @Step,@Steps to generate excellent reports
2
Building more re-usable methods

Request,Response Specification

1
Create Reusable specifications to minimize code repitition

DataDriven Tests in Serenity BDD

1
Building data driven test model using Serenity BDD features
2
Creating Mock Data using Mockaroo service

Parallel Execution to execute tests FASTER!!

1
@Concurrent,@Thread annotations to speed up data driven tests
2
Configure ForkCount to execute Test Classes in parallel

Grouping Tests in Serenity BDD

1
@WithTag, @WithTags to group selective tests

Checking code to GIT/GITHUB

1
Installing Git on system
2
Basic Git Commands,Checkin Project to local repository
3
Pushing code to Remote Repository (GITHUB)

Integration between JENKINS,GIT & SERENITY Project

1
Installing Jenkins on System
2
Creating Jenkins job to build Serenity Project
3
Configuring Jenkins for displaying Serenity Reports

Cucumber with Serenity BDD

1
Adding Cucumber dependencies in Serenity Project
2
Creating Scenarios,Step Definitions
3
Scenario Outline for executing a scenario multiple times
4
Tagging Scenarios in Cucumber
5
Cucumber Project code
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.2
4.2 out of 5
334 Ratings

Detailed Rating

Stars 5
152
Stars 4
119
Stars 3
44
Stars 2
10
Stars 1
9
22fdb63f4271ab24a7a14c5e58065344
30-Day Money-Back Guarantee

Includes

5 hours on-demand video
2 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion