Rest Assured Fundamentals
Tags: API Testing , REST Assured
Quickly learn the fundamentals of REST Assured to add API Automation Testing to your Java code
Last updated 2022-01-10 | 4.5
- 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
What you'll learn
* 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
❗️UPDATE - DEC 2019 ❗️COURSE HAS BEEN COMPLETELY RE-RECORDED FROM SCRATCH FOR THE LATEST VERSION OF REST ASSURED - V4.1.2❗️
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
9 sections • 46 lectures
Course Introduction Preview 01:47
Brief introduction to who I am and why I created this REST Assured fundamentals course
Housekeeping Preview 02:32
How to ask questions to the course author, and how to use the Github repository with the source code
Prerequisite Software Preview 01:49
List of prerequisite software needed to follow along with the course, and where to obtain it
Target Application 1 - Video Game DB Preview 03:24
How to download and install the first application under test - the Video Game DB
Target Application 2 - Football Data API Preview 03:04
Quick overview of the 2nd application under test - Football Data API
Create Intellij Project & Install REST Assured Preview 03:06
Install REST Assured through Gradle in Intellij
Write your First REST Assured Test Preview 07:21
Write your first REST Assured test
Setting up a Base Class Preview 05:03
Add a base class for common code to be executed by all your tests in REST Assured
Running tests through a HTTP Proxy Preview 03:01
How to run tests through the Fiddler HTTP Proxy in REST Assured
Request Specification Preview 04:11
Using Request Specification in REST Assured
Response Specification Preview 02:34
Using Response specification in REST Assured
Create Config file for Video Game DB Preview 06:03
Add the base config file for the Video Game DB
Adding Endpoints to an Interface Preview 04:29
Adding Endpoints to an Interface for use in REST Assured tests
GET Request Preview 03:39
How to make a GET request in REST Assured
POST Request with JSON Preview 04:00
How to make a POST request with JSON in REST Assured
POST Request with XML Preview 06:37
How to make a POST Request with XML
PUT Request Preview 03:30
How to make a PUT Request in REST Assured
DELETE Request Preview 01:56
How to make a DELETE request in REST Assured
Path Parameters Preview 03:10
How to add Path Parameters in your REST Assured API calls
Create Config file for Football API Preview 05:47
Create a config file for Football API tests to inherit from
Query Parameters Preview 04:50
How to add Path Parameters in your REST Assured API calls
Assert the body of a HTTP Response Preview 07:41
Assert the body of a HTTP Response in REST Assured
Extract the body of a HTTP Response Preview 04:47
Extract the body of a HTTP Response in REST Assured
Extract the headers of a HTTP Response Preview 03:41
Extract the headers of a HTTP Response with REST Assured
Extract explicit data from the body with JSON path Preview 05:08
Extract explicit data from the body with JSON path
Object Serialization Preview 08:33
How to performance Object Serialization with REST Assured
Validating Response against a XML Schema Preview 07:32
Validating Response against a XML Schema in REST Assured
Validating Response against a JSON Schema Preview 05:27
Validating Response against a JSON Schema in REST Assured
Convert JSON Response to POJO Preview 03:06
Learn how to convert a JSON response in the response body to a POJO in REST Assured
Measuring Response Time in REST Assured Preview 05:54
Measuring Response Time in REST Assured
GPath JSON Part 1 - Setup and basic find Preview 07:55
How to use GPath to look up JSON in REST Assured
GPath JSON Part 2 - Using findAll to extract multiple data Preview 07:07
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 3 - Using Min, Max, Collect and Sum Preview 05:13
How to use GPath to look up JSON in REST Assured, in this lecture we use mix, max, collect and sum
GPath JSON Part 4 - Combining finds and using parameters Preview 10:53
How to use GPath to look up JSON in REST Assured, in this lecture we combine finds and use parameters
GPath XML Part 1 - Setup and basic find Preview 03:42
Using GPath XML in REST Assured - in this lecture we go over the setup and perform a basic find
GPath XML Part 2 - Attributes Preview 01:52
Using GPath XML in REST Assured - in this lecture we discuss XML attributes
GPath XML Part 3 - Extract all XML nodes with findAll Preview 04:18
Using GPath XML in REST Assured - in this lecture we discuss XML nodes and use findAll
GPath XML Part 4 - Extract XML nodes with an attribute Preview 03:46
Using GPath XML in REST Assured - in this lecture we discuss XML nodes and capturing them with an attribute
GPath XML Part 5 - Extract single node Preview 02:35
Using GPath XML in REST Assured - in this lecture we extract a single node
GPath XML Part 6 - Depth First Search Preview 02:20
Using GPath XML in REST Assured - in this lecture we look at how to perform a depth first search
GPath XML Part 7 - Get all nodes based on a condition Preview 03:38
Using GPath XML in REST Assured - in this lecture we extract all nodes based on a condition
Authentication Introduction Preview 02:31
An introduction to doing Authentication in REST Assured
Basic Authentication Preview 04:07
How to do Basic Authentication in REST Assured
OAuth 1 & 2 Preview 04:14
How to do OAuth 1 & 2 in REST Assured
SSL Preview 03:02
How to do SSL Authentication in REST Assured
Thanks for watching! Preview 01:05
Thanks for watching this course on REST Assured.