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
4.2 (87 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
637 students enrolled
Take This Course
  • Lectures 28
  • Length 2.5 hours
  • Skill Level Intermediate Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 4/2015 English

Course Description

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.


Do you want a discount? Tweet about that: I want a discount for "Test automation of REST services" by @Fruzenshtein

I'll send you a promo code in 24 hours!


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.

What are the requirements?

  • Installed Java (JDK)
  • Know Java basics (desired but not required)

What am I going to get from this course?

  • 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

Who is the target audience?

  • QA Engineers (Junior / Middle / Senior)
  • Test Developers (Junior / Middle / Senior)
  • Java developers

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Theoretical introduction

Introduction to the course structure


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.


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.


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.


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

Section 2: Practical introduction

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.


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


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).



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:


Section 3: REST-automation basics

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.


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.


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


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


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


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


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

Section 4: TestNG

In this lecture I discuss the problem of JUnit and advantages of 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.

Section 5: Advanced REST-automation

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


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.


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


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.


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

8 questions

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

Course summary

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Alex Zvolinskiy, Java / Scala developer, QA automation lead

My name is Alexey Zvolisnkiy aka Alex Fruzenshtein. I'm a Java / Scala developer and a test automation lead. I started a programmer career in 2006. I've worked at European and US software companies and startups, attended at conferences as a speaker, conducted trainings. You can find more information about me on LinkedIn and on my blog.

My favorite areas of development are back-end solutions, API design, test automation of web UI and web-services. I'll be really glad to answer to all of your questions regarding my courses. 

Ready to start learning?
Take This Course