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
3.8 (76 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.
609 students enrolled
$75
Take This Course
  • Lectures 28
  • Contents Video: 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

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

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.

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

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

Curriculum

Section 1: Theoretical introduction
00:46

Introduction to the course structure

01:50

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.

03:41

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.

01:46

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.

04:36

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

Section 2: Practical introduction
10:22

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

04:27

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.

01:43

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

07:51

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

05:24

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

Section 3: REST-automation basics
09:15

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.

12:31

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.

05:21

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

07:30

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

07:17

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

09:50

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

08:37

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

Section 4: TestNG
03:27

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

06:39

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

04:05

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

04:11

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

08:42

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
03:05

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

11:01

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.

02:29

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

08:38

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.

03:42

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
01:03

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Alex Zvolinskiy, Java / Scala architect, QA automation lead

My name is Alexey Zvolisnkiy aka Alex Fruzenshtein. I'm a Java / Scala architect 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