Test automation of REST services
4.3 (88 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.
639 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Test automation of REST services to your Wishlist.

Add to Wishlist

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.3 (88 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.
639 students enrolled
Last updated 12/2015
English
Price: $50
30-Day Money-Back Guarantee
Includes:
  • 2.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Have a coupon?
What Will I Learn?
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
View Curriculum
Requirements
  • Installed Java (JDK)
  • Know Java basics (desired but not required)
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.

Who is the target audience?
  • QA Engineers (Junior / Middle / Senior)
  • Test Developers (Junior / Middle / Senior)
  • Java developers
Students Who Viewed This Course Also Viewed
Curriculum For This Course
Expand All 28 Lectures Collapse All 28 Lectures 02:39:49
+
Theoretical introduction
5 Lectures 12:39

Introduction to the course structure

Preview 00:46

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.

Preview 01:50

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.

Preview 03:41

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.

Preview 01:46

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

Preview 04:36
+
Practical introduction
5 Lectures 29:47

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

Example of REST-services
10:22

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.

POSTman
04:27

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

REST assured
01:43

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

Project setup
07:51

Instruction:

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:

https://dl.dropboxusercontent.com/u/29572172/rest-app-0.0.2.jar

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:

http://localhost:8080/swagger/index.html

Local REST-app for testing
05:24
+
REST-automation basics
7 Lectures 01:00:21

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 GET test
09:15

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.

Simple POST test
12:31

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

OOP enhancement
05:21

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

Complete POST test
07:30

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

Negative POST test
07:17

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

Simple PUT test
09:50

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

Simple DELETE test
08:37
+
TestNG
5 Lectures 27:04

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

TestNG intro
03:27

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

Migration to TestNG
06:39

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

Priority
04:05

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

Dependencies
04:11

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

DataProvider
08:42
+
Advanced REST-automation
6 Lectures 29:58

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

Setup test class for Apartment
03:05

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.

Test scripts for Apartment module
11:01

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

OOP enhancement
02:29

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.

TestNG XML runner
08:38

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

Authentication & Authorisation
03:42

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

Final theory check
8 questions

Course summary
01:03
About the Instructor
Alex Zvolinskiy
3.7 Average rating
185 Reviews
2,903 Students
4 Courses
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.