REST Assured Fundamentals
4.4 (188 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
5,101 students enrolled

REST Assured Fundamentals

Quickly learn the fundamentals of REST Assured to add API Automation Testing to your Java code
Bestseller
4.4 (188 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
5,101 students enrolled
Created by James Willett
Last updated 3/2019
English
English [Auto-generated]
Current price: $9.99 Original price: $49.99 Discount: 80% off
30-Day Money-Back Guarantee
This course includes
  • 3 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to Udemy's top 3,000+ courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Use all of the core features of REST Assured
  • Test two sample API applications, including one developed especially for this course

  • Advanced use of REST Assured to extract explicit data from a HTTP response

Requirements
  • No prerequisites are needed for the course, but you will get more out of it if you know some basic Java
  • Basic knowledge of how APIs work will be helpful, but not required
Description

This course on REST Assured assumes that you have some basic knowledge of Java and API testing, and cuts through all the filler of other courses to get you up and running with REST Assured very quickly. Even if you have very little knowledge of Java and APi testing, you can still follow along with this course.

The course makes use of two different API applications to test against, including one that was created specifically for this course and supports both JSON and XML queries.

If you want a course that will get you up and running with REST Assured and learning the fundamentals of this awesome DSL for Java API Testing, this is the course for you.

Who this course is for:
  • Anyone who wants to learn the fundamental features of REST Assured quickly and efficiently
  • Students with an interest in API Automation
Course content
Expand all 45 lectures 02:49:09
+ Prerequisite Installations & Setup
4 lectures 10:33

Brief introduction to who I am and why I created this REST Assured fundamentals course

Preview 02:08

List of prerequisite software needed to follow along with the course, and where to obtain it

Preview 02:06

How to download and install the first application under test - the Video Game DB

Preview 03:01

Quick overview of the 2nd application under test - Football Data API

Target Application 2 - Football Data API
03:18
+ REST Assured - Preparing Your Framework
9 lectures 35:25

Install REST Assured through Gradle in Intellij

Preview 02:51

Write your first REST Assured test

Preview 03:20

Add a base class for common code to be executed by all your tests

Preview 03:36

How to run tests through the Fiddler HTTP Proxy

Preview 02:38

How to set various types of logging in REST Assured

Setting logging in tests
02:59

Using Request Specification

Preview 03:23

Using Response specification

Response Specification
02:45

Adding Multiple Request & Response Specifications

Adding Multiple Request & Response Specifications
10:00

Adding Endpoints to an Interface

Adding Endpoints to an Interface
03:53
+ REST Assured - Different Request Types
7 lectures 22:51

How to make a GET request in REST Assured 

Preview 04:06

How to make a POST request with JSON

POST Request with JSON
03:53

How to make a POST Request with XML 

POST Request with XML
03:20

How to make a PUT Request

PUT Request
02:56

How to make a DELETE request 

DELETE Request
01:32

How to add Path Parameters in your REST Assured API calls 

Preview 03:12

How to add Path Parameters in your REST Assured API calls 

Query Parameters
03:52
+ REST Assured - Assert and Extract from the Response Body
4 lectures 15:47

Assert the body of a HTTP Response

Assert the body of a HTTP Response
05:01

Extract the body of a HTTP Response

Extract the body of a HTTP Response
04:40

Extract the headers of a HTTP Response

Extract the headers of a HTTP Response
02:21

Extract explicit data from the body with JSON path

Extract explicit data from the body with JSON path
03:45
+ REST Assured - Serialization, Schema Validation & Measuring Response Time
5 lectures 20:14

How to performance Object Serialization with REST Assured 

Object Serialization
05:11

Validating Response against a XML Schema

Validating Response against a XML Schema
04:29

Validating Response against a JSON Schema

Validating Response against a JSON Schema
03:09

Learn how to convert a JSON response in the response body to a POJO in REST Assured

Convert JSON Response to POJO
03:06

Measuring Response Time in REST Assured

Preview 04:19
+ Using Groovy GPath for JSON in REST Assured
4 lectures 27:09

How to use GPath to look up JSON in REST Assured 

GPath JSON Part 1 - Setup and basic find
07:32

How to use GPath to look up JSON in REST Assured, in this lecture we use findAll  to extract multiple data sets

GPath JSON Part 2 - Using findAll to extract multiple data
05:18

How to use GPath to look up JSON in REST Assured, in this lecture we use mix, max, collect and sum 

GPath JSON Part 3 - Using Min, Max, Collect and Sum
03:55

How to use GPath to look up JSON in REST Assured, in this lecture we combine finds and use parameters 

GPath JSON Part 4 - Combining finds and using parameters
10:24
+ Using Groovy Gpath for XML in REST Assured
7 lectures 22:11

Using GPath XML in REST Assured - in this lecture we go over the setup and perform a basic find 

GPath XML Part 1 - Setup and basic find
03:42

Using GPath XML in REST Assured - in this lecture we discuss XML attributes 

GPath XML Part 2 - Attributes
01:52

Using GPath XML in REST Assured - in this lecture we discuss XML nodes and use findAll   

GPath XML Part 3 - Extract all XML nodes with findAll
04:18

Using GPath XML in REST Assured - in this lecture we discuss XML nodes and capturing them with an attribute 

GPath XML Part 4 - Extract XML nodes with an attribute
03:46

Using GPath XML in REST Assured - in this lecture we extract a single node 

GPath XML Part 5 - Extract single node
02:35

Using GPath XML in REST Assured - in this lecture we look at how to perform a depth first search 

GPath XML Part 6 - Depth First Search
02:20

Using GPath XML in REST Assured - in this lecture we extract all nodes based on a condition 

GPath XML Part 7 - Get all nodes based on a condition
03:38
+ Authentication
4 lectures 13:54

An introduction to doing Authentication in REST Assured 

Authentication Introduction
02:31

How to do Basic Authentication in REST Assured 

Basic Authentication
04:07

How to do OAuth 1 & 2 in REST Assured 

OAuth 1 & 2
04:14

How to do SSL Authentication in REST Assured 

SSL
03:02
+ Conclusion
1 lecture 01:05

Thanks for watching this course on REST Assured. 

Thanks for watching!
01:05