4.41 out of 5
4.41
213 reviews on Udemy

REST Assured Fundamentals

Quickly learn the fundamentals of REST Assured to add API Automation Testing to your Java code
Instructor:
James Willett
5,244 students enrolled
English [Auto-generated]
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

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.

Prerequisite Installations & Setup

1
Course Introduction

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

2
Prerequisite Software

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

3
Target Application 1 - Video Game DB

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

4
Target Application 2 - Football Data API

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

REST Assured - Preparing Your Framework

1
Create Intellij Project & Install REST Assured

Install REST Assured through Gradle in Intellij

2
Write your First REST Assured Test

Write your first REST Assured test

3
Setting up a Base Class

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

4
Running tests through a HTTP Proxy

How to run tests through the Fiddler HTTP Proxy

5
Setting logging in tests

How to set various types of logging in REST Assured

6
Request Specification

Using Request Specification

7
Response Specification

Using Response specification

8
Adding Multiple Request & Response Specifications

Adding Multiple Request & Response Specifications

9
Adding Endpoints to an Interface

Adding Endpoints to an Interface

REST Assured - Different Request Types

1
GET Request

How to make a GET request in REST Assured 

2
POST Request with JSON

How to make a POST request with JSON

3
POST Request with XML

How to make a POST Request with XML 

4
PUT Request

How to make a PUT Request

5
DELETE Request

How to make a DELETE request 

6
Path Parameters

How to add Path Parameters in your REST Assured API calls 

7
Query Parameters

How to add Path Parameters in your REST Assured API calls 

REST Assured - Assert and Extract from the Response Body

1
Assert the body of a HTTP Response

Assert the body of a HTTP Response

2
Extract the body of a HTTP Response

Extract the body of a HTTP Response

3
Extract the headers of a HTTP Response

Extract the headers of a HTTP Response

4
Extract explicit data from the body with JSON path

Extract explicit data from the body with JSON path

REST Assured - Serialization, Schema Validation & Measuring Response Time

1
Object Serialization

How to performance Object Serialization with REST Assured 

2
Validating Response against a XML Schema

Validating Response against a XML Schema

3
Validating Response against a JSON Schema

Validating Response against a JSON Schema

4
Convert JSON Response to POJO

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

5
Measuring Response Time in REST Assured

Measuring Response Time in REST Assured

Using Groovy GPath for JSON in REST Assured

1
GPath JSON Part 1 - Setup and basic find

How to use GPath to look up JSON in REST Assured 

2
GPath JSON Part 2 - Using findAll to extract multiple data

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

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

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

4
GPath JSON Part 4 - Combining finds and using parameters

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

Using Groovy Gpath for XML in REST Assured

1
GPath XML Part 1 - Setup and basic find

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

2
GPath XML Part 2 - Attributes

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

3
GPath XML Part 3 - Extract all XML nodes with findAll

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

4
GPath XML Part 4 - Extract XML nodes with an attribute

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

5
GPath XML Part 5 - Extract single node

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

6
GPath XML Part 6 - Depth First Search

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

7
GPath XML Part 7 - Get all nodes based on a condition

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

Authentication

1
Authentication Introduction

An introduction to doing Authentication in REST Assured 

2
Basic Authentication

How to do Basic Authentication in REST Assured 

3
OAuth 1 & 2

How to do OAuth 1 & 2 in REST Assured 

4
SSL

How to do SSL Authentication in REST Assured 

Conclusion

1
Thanks for watching!

Thanks for watching this course on REST Assured. 

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.4
4.4 out of 5
213 Ratings

Detailed Rating

Stars 5
114
Stars 4
78
Stars 3
15
Stars 2
2
Stars 1
5
0e89a533233d7280b39e8933ee6e3bfb
30-Day Money-Back Guarantee

Includes

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