Course Updates:
Nov 2023: This course fully supports latest Rest Assured version 5.3.2, latest Java 21 and latest versions of all supporting libraries.
Why learn Rest Assured and REST API automation?
REST Assured API is one of the most popular library when it comes to automating the REST APIs. Most of the today’s web applications are backed by the Micro services architecture and the REST APIs. Make no mistake, REST is gaining a lot of popularity amongst the developer community.
As a QA engineer, it becomes very important to test the REST APIs as a working API is crucial for a product. With great adoption of OAuth 2.0 and Open ID Connect authentication mechanisms, it also becomes important to build an in-depth understanding of these authentication mechanisms. To speed up product delivery, the industry is gradually moving towards end to end continuous integration (CI) and continuous development process (CD). So it becomes critical that the backend API services are automated to facilitate and speed up this process.
This is where the role of a QA engineer becomes of utmost importance to be able to automate the backend API services. This is why you would want to learn everything about the REST Assured library to confidently automate the REST APIs and lead the effort single handedly. And, you have come to the right place!
Why this is the right course for you?
This REST Assured course is a one stop solution for all your API automation needs. This course will take you from the beginner level, all the way to be able to design and implement industry standard production ready API automation framework. By the end of the course, you will be confident enough to call yourself as an expert in the REST API automation space.
-
This is probably the only course that covers serialization and de-serialization in great detail and that too with complex POJO examples.
-
This is the only course that explains many of the authentication and authorization schemes in REST API, in a simple manner and with live examples. For OAuth2.0, we have covered two famous APIs – Google and Spotify.
-
This is the only course that values your precious time. Lectures are short, crisp and to the point. I have spent a great amount of time editing the videos so that you don’t have to waste your time just to learn a simple concept.
-
This course covers many topics you will not find in other courses, for e.g. Lombok, Jackson Databind API, JSON Assert, Hamcrest assertions, etc.
-
Before we start learning REST Assured and many of its cool features, I’ll spend a great amount of time to explain you about the API basics, the HTTP concepts, what is REST, the HTTP methods, POSTMAN, Mocking APIs, JSON and JSON Path and also the basics of Java Programming language. These are the essentials one must become familiar with before jumping on with the REST Assured automation.
-
I’ll explain you each and every REST Assured concept with live coding and I’ll not just write the code. I’ll also explain you what happens behind the scenes. This is the best way to learn something new. “Why” and “How” are more important than “What”!
-
You will learn how to think like an automation lead, plan and design the automation framework, optimizing the code, write clean tests and follow good programming practices. For e.g. you will always see me formatting the code (I hate poorly formatted code). It’s a small thing, but is very important!
-
I’m VERY RESPONSIVE in the Q&A section. I respond to queries within 24 hours. If the time zone difference is not that huge, I can respond within 3-12 hours.
So, “Rest Assured”, by the end of this course, you will become an expert!
What topics are covered in this course?
Here’s the list of all the important concepts covered in this course:
-
API Essentials
-
Postman Essentials
-
JSON Essentials
-
HTTP Essentials
-
Postman Mock Server
-
Java Programming Basics
-
Groovy JsonPath
-
Jayway JsonPath
-
Groovy Vs Jayway
-
Rest Assured – Setup
-
Rest Assured – Getting Started
-
Rest Assured – Logging
-
Rest Assured – Handling Headers
-
Rest Assured – Automate Get
-
Rest Assured – Hamcrest Assertion
-
Rest Assured – Hamcrest Collection Matchers
-
Serialization & De-serialization: Concept
-
Serialization & De-serialization: POJOs
-
Serialization & De-serialization: Role of Jackson API
-
Serialization & De-serialization: HashMap to JSON object
-
Serialization & De-serialization: ArrayList to JSON array
-
Serialization & De-serialization: Jackson Annotations
-
Serialization & De-serialization: Jackson ObjectMapper
-
Serialization & De-serialization: Jackson ObjectNode
-
Serialization & De-serialization: Jackson ArrayNode
-
Serialization & De-serialization: Complex POJO Example
-
Serialization & De-serialization: Full JSON body matching
-
Serialization & De-serialization: Parameterization using TestNG Data provider
-
Rest Assured – Request Specification
-
Rest Assured – Response Specification
-
Rest Assured – Automate Post, Put, Del
-
Rest Assured – Multiple ways to send request payload
-
Rest Assured – Complex JSON in request body
-
Rest Assured – Request Parameters
-
Rest Assured – Multipart Form Data
-
Rest Assured – Form URL Encoded
-
Rest Assured – File upload and download
-
Rest Assured – JSON Schema Validation
-
Rest Assured – Logging Filters
-
Rest Assured – Configs
-
Authentication schemes – Form/Session Based Authentication
-
Authentication schemes – Session Filter
-
Authentication schemes – CSRF Token
-
Authentication schemes – Handling Cookies
-
Authentication schemes – OAuth2.0
-
Authentication schemes – OpenID Connect
-
Authentication schemes – OAuth Vs Open ID Connect
-
Authentication schemes – ID Token
-
Authentication schemes – OAuth Authorization Grant Flow
-
Authentication schemes – OAuth Implicit Grant Flow
-
Authentication schemes – OAuth Client Credentials Flow
-
Authentication schemes – Basic Authentication
-
Authentication schemes – Digest Authentication
-
Authentication schemes – Bearer Token
-
Authentication schemes – APIKey
-
Google OAuth 2.0 – Configure and setup client app for authorization code grant flow
-
Google OAuth 2.0 – Fetch auth code, access token and refresh token
-
Google OAuth 2.0 – Renew access token
-
Google OAuth 2.0 – Automate Get User Profile API
-
Google OAuth 2.0 – Automate Send Email API
-
Google OAuth 2.0 – Implicit grant flow implementation
-
Google OAuth 2.0 – Open ID connect flow implementation
-
Spotify OAuth 2.0 – Configure and setup client app for authorization code grant flow
-
Spotify OAuth 2.0 – Fetch auth code, access token and refresh token
-
Spotify OAuth 2.0 – Renew access token
-
Spotify OAuth 2.0 – Automate Playlist API
Framework goals accomplished in this course:
-
Scalable and extensible
-
Reusable Rest Assured specifications
-
Reusable Rest Assured API requests
-
Separation of API layer from test layer
-
POJOs for Serialization and Deserialization
-
Singleton Design Pattern
-
Lombok for reducing Boilerplate code
-
Builder pattern for Setter methods in POJOs
-
Robust reporting and logging using Allure
-
Automate positive and negative scenarios
-
Support parallel execution
-
Data driven using TestNG Data Provider
-
Automated access token renewal
-
Maven command line execution
-
Integration with Git
-
Integration with Jenkins
Tech stack and tools covered in this course:
-
Rest Assured
-
TestNG
-
Java
-
Allure Reports
-
Hamcrest
-
Jackson API
-
Lombok
What else is included in the course?
-
All the code & notes used in the lectures is available for download
-
You will get my full support in the Q&A