3.95 out of 5
137 reviews on Udemy

Test automation of REST services

Course learns how to test REST-services and automate this process with help of Java and awesome library REST-assured
Alex Zvolinskiy
772 students enrolled
English [Auto-generated]
test REST-services
automate testing of REST-services
apply Java OOP to automation process of REST-services
organise test automation on a project
use JUnit and TestNG

        Course is about testing of REST-services. Since REST-full architecture has became the most popular in web-applications, the course will be useful for QA Engineers, testers and Test Developers who work with a web. Well structured video lectures will help you to learn how to test REST-services, automate this process with help of Java, JUnit, TestNG and “REST Assured” and organise automation process on entire project. Any practical knowledge is not useful and applicable if you do not familiar with theory. I’ve took care of it so you will get excellent union of theory and practice. 

You definitely have to take this course because it increases your technical level, make you more attractive for employer, gives you additional arguments on a salary review. 

Develop your skills, invest in yourself. 

Theoretical introduction

About the course

Introduction to the course structure

How this course built

Overview of the topics which the course covers.

Pay your attention to the lecture descriptions before each video lecture. It contains short information about the lecture topic and some useful instructions.

Old web architecture MVC

Theoretical lecture about the domain of WEB architecture. It's useful for QAs and testers to know what was before the REST and how it worked.

REST architecture

Lecture about the REST architecture. Before starting work with something, especially when you are going to test it, you'd better to know about it as much as you can. So here I discuss REST basics.

RESTful approach

This lecture is extended version of previous one and digs more deeper in technical aspects of REST architecture.

Practical introduction

Example of REST-services

In this lecture I examine a sample of application with REST architecture and SWAGGER interface


This lecture discovers usage of such tool for REST-service testing as POSTman (Google Chrome's extension). It's very useful during the test scripts development.

REST assured

This lecture contains short overview of REST-assured and its site with documentation and user guide.

ATTENTION: Here is a new web-address of the REST-assured: www.rest-assured.io

Project setup

This lecture is equator between the theory and practice in the course. So here I show how to setup all environment setting and Eclipse IDE with all required Maven dependency (except installing of Java).

Local REST-app for testing


How to launch REST sample API locally.

You can follow the steps from the instruction below or download the file from the "External Resources" in this lecture.

1. Download sample of REST API:


2. Open command line

3. Navigate to that folder where you have saved rest-app-0.0.2.jar file from the step #1

4. Enter java -jar rest-app-0.0.2.jar

5. Open in browser:


REST-automation basics

Simple GET test

This is the first test script in the course. Here I show how to create a java test class which contains test methods. I perform the most simple GET request test.

Simple POST test

In this lecture I demonstrate the most simple POST scenario for the automation test script.

Take a look at "Downloadable materials" there you will find a cheat sheet for hamcrest matchers. It is handy to use it while doing any kind of verifications in test scripts.

OOP enhancement

This lecture covers extra JUnit annotations such as @Before group with concrete example of @BeforeClass

Complete POST test

In this lecture I continue work on the simple POST test script from the previous lecture. As the result I demonstrate how should work common POST test script

Negative POST test

In this lecture I show how to develop test script which checks validation responses of HTTP requests

Simple PUT test

This lecture contains material which describes flow of entity update using PUT HTTP request

Simple DELETE test

This test completes the section of simple test scripts by representing a work with HTTP DELETE request


TestNG intro

In this lecture I discuss the problem of JUnit and advantages of TestNG

Migration to TestNG

This lecture discovers the steps you should do to migrate from JUnit to TestNG


In this lecture I show how to use priority attribute of @Test annotation in TestNG framework


In this lecture I show how to use dependsOnMethods attribute of @Test annotation in TestNG framework


This lecture contains example of @DataProvider usage. This gives you ability to apply the same test steps to different data sets.

Advanced REST-automation

Setup test class for Apartment

In this lecture I show how to start work with the second part of the test REST application

Test scripts for Apartment module

In this lecture I comment the code of test scripts which test functionality of the Apartment in the test REST application. Also I overview the usage of Query Parameters.

OOP enhancement

In this video lecture I demonstrate the hook which improves the entire architecture of the testing framework by injecting a BasicTest class.

TestNG XML runner

In this video lecture I show multiple cases of test run using testng.xml

Also you can find final version of all REST-tests which we have developed during the course.

Authentication & Authorisation

In this lecture I will learn basic concepts of REST-services authentication and authorisation.

Final theory check

In this quiz you will be able to check your recently acquired theory knowledges by answering the questions.

Course summary
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 out of 5
137 Ratings

Detailed Rating

Stars 5
Stars 4
Stars 3
Stars 2
Stars 1
30-Day Money-Back Guarantee


3 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion