REST Assured Fundamentals

REST Assured Fundamentals

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2.5 Hours | 426 MB

Quickly learn the fundamentals of REST Assured to add API Automation Testing to your Java code

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.

What Will I 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
Table of Contents

Prerequisite Installations Setup
1 Course Introduction
2 Prerequisite Software
3 Target Application 1 – Video Game DB
4 Target Application 2 – Football Data API

REST Assured – Preparing Your Framework
5 Create Intellij Project Install REST Assured
6 Write your First REST Assured Test
7 Setting up a Base Class
8 Running tests through a HTTP Proxy
9 Setting logging in tests
10 Request Specification
11 Response Specification
12 Adding Multiple Request Response Specifications
13 Adding Endpoints to an Interface

REST Assured – Different Request Types
14 GET Request
15 POST Request with JSON
16 POST Request with XML
17 PUT Request
18 DELETE Request
19 Path Parameters
20 Query Parameters

REST Assured – Assert and Extract from the Response Body
21 Assert the body of a HTTP Response
22 Extract the body of a HTTP Response
23 Extract the headers of a HTTP Response
24 Extract explicit data from the body with JSON path

REST Assured – Serialization Schema Validation Measuring Response Time
25 Object Serialization
26 Validating Response against a XML Schema
27 Validating Response again a JSON Schema
28 Measuring Response Time in REST Assured

Using Groovy GPath for JSON in REST Assured
29 GPath JSON Part 1 – Setup and basic find
30 GPath JSON Part 2 – Using findAll to extract multiple data
31 GPath JSON Part 3 – Using Min Max Collect and Sum
32 GPath JSON Part 4 – Combining finds and using parameters

Using Groovy Gpath for XML in REST Assured
33 GPath XML Part 1 – Setup and basic find
34 GPath XML Part 2 – Attributes
35 GPath XML Part 3 – Extract all XML nodes with findAll
36 GPath XML Part 4 – Extract XML nodes with an attribute
37 GPath XML Part 5 – Extract single node
38 GPath XML Part 6 – Depth First Search
39 GPath XML Part 7 – Get all nodes based on a condition

Conclusion
40 Thanks for watching