4.11 out of 5
4.11
354 reviews on Udemy

REST API Automation With REST Assured – A Complete Guide

"Join the most popular Rest-Assured Course"- Learn every topic in Rest-Assured with Real World Examples!!
Instructor:
Tejasvi Hegde
2,432 students enrolled
Italian [Auto-generated]
File Uploads ,File Downloads , Sending SOAP Requests, Sending requests via proxy server using Rest Assured
OAUTH1 Authentication with Twitter, Authentication OAUTH2 with Paypal in Rest Assured
Authentication with Spring Security & CSRF Token based apps in Rest Assured
Logging, request/response specifications, RootPath
JSONPath, XMLPath, JSoup Libraries for extracting data
Hard Asserts, Soft Asserts,Multiple Asserts , complete JSON Body Assertions using JSONAssert Library

**THE ONLY COURSE WHICH COVERS REST-ASSURED IN DETAIL WITH REAL WORLD. EXAMPLES**

**THE ONLY COURSE WHERE YOUR QUESTIONS ARE ANSWERED IN DETAIL WITH 24HOURS**

In the 21st century, almost all web applications use web services to communicate or interact with each other. Most modern day web services are built on Representational state transfer (REST) architecture; REST has gained a lot of popularity and it will continue to do the same due to its simplicity in comparison with other technologies.

It is very important for software QA engineers, automation engineers and software developers to understand the importance of Web Services testing and more importantly how to automate these tests. Automating Application Program Interface (API) tests is critical and crucial for most projects due to the fact that API tests are far more stable, reliable and fast.

In this course, you will be provided with the tools and techniques needed to be successful with REST API automation. We will be focusing on the important topics listed below:

  • Introduction to REST Assured, which is a popular open source library used for API test automation. Learn to write tests for GET, POST, PUT, PATCH and DELETE operations using a sample application provided in the course
  • Understand and use JSONPath, XML Path (with Groovy syntax) to assert and extract response
  • Simplify writing JSONPath by using Root path feature
  • Practical examples demonstrating different Rest Assured topics (Request Specification, Response Specification, Logging, Parameters, File Download etc.)
  • Logging Request and Response information based on test status
  • Avoiding writing repetitive code by using Request/Response specification concepts
  • Adding multiple assertions to a single test
  • Soft Assertions in Rest Assured 
  • File Download
  • File Upload using multipart method
  • Work with real world-examples such as Walmart Search API, PayPal Payment Service
  • Use PayPal Web Service to learn different concepts like Authentication using OAuth 2.0, passing of access tokens to different requests, and executing GET,COMPLEX POST requests
  • Use OAuth 1.0 authentication with Twitter to create Tweets,read tweets using Rest-Assured
  • Authenticating into applications which implement Form Authentication using Spring Security 
  • Authenticating into applications which implement Form Authentication using Spring Security & CSRF token implementation. 
  • Sending Soap Requests using Rest-Assured 
  • Sending requests via Proxy Server 
  • Parsing HTML Data using JSOUP Library 
  • Using JSONAssert Library to assert on complete JSON responses 

Additional topics will be added to the course in the following weeks.

At the end of this course, you will feel at “Rest” and will be “Assured” to take up API Testing, API Automation and successfully execute it in your organization!

Introduction to the course

1
Introduction

Setting up the Student Sample Application

1
Launching the 'Students' Sample Application

In this lecture, we will learn '

  1. How to start the Students Sample application.
  2. How to change the default port number (8080) on which the application starts.


2
IMPORTANT: For users using Java 9

Writing Tests using REST Assured(SKIP IF YOU HAVE SEEN THIS IN PART 1)

1
Introduction and setup of REST Assured Library
2
GET Request Part 1
3
GET Request Part2
4
POST Request
5
PUT Request
6
PATCH Request
7
DELETE Request
8
Refactor Student App Tests

Logging Request and Response Data in Rest Assured

1
Logging Request Information
2
Logging Request Information based on Test Status
3
Logging Response Information

Extract data from Json response using JSONPath

1
Walmart Search API Walkthrough
2
Extracting data from response using JsonPath-Part1
3
Extracting data from response using JsonPath-part2
4
Extracting data from response using JsonPath-part3
5
Extracting data from response using JsonPath-part4

Extract data from xml response using XML Path

1
Extracting data from response using XMLPath-part1
2
Extracting data from response using XMLPath-part2

Assertions in REST Assured using Hamcrest Library

1
Adding single assertion to tests
2
Adding Multiple Assertions To Tests
3
Soft Assertions In Rest-Assured

JSONAssert Library for asserting on complete JSON Responses

1
Asserting on complete JSON Response

Root Path in REST Assured

1
Setting Root Path in REST Assured

Request Specification and Response Specification

1
Refactoring Tests using Request Specification
2
Refactoring tests using Response Specification

Filters in Rest-Assured

1
Extracting request/response specifications using filters

File Downloads in REST Assured

1
Validating File DownLoads Part 1
2
Validating File DownLoads Part 2

Basic Authentication with File Uploads using REST Assured

1
Creating developer account for Zamzar file conversion
2
Uploading files to Zamzar using Multipart Request

Checking Response Time

1
Check Response time

Sending SOAP Requests in Rest-Assured

1
Getting information from Holiday WebService

Requests via ProxyServer

1
Sending Requests via proxy server

Authentication (OAuth2.0) with Paypal Payment Web Service (SANDBOX ENVIRONMENT)

1
Introduction to PayPal Web Services
2
Creating Paypal Developer accounts & Testing App
3
Usage of OAuth 2.0 in Paypal
4
Creating Payment/Requesting Payments in Paypal using POSTMAN
5
Obtaining the session token from Paypal OAuth server using REST Assured
6
Creating payment in PayPal by posting body as String
7
Creating POJO Files for Payment
8
Creating Payment Object from POJO Files
9
Creating payment in PayPal with Payment Object
10
Getting payment information in PayPal using GET Request (REST Assured)

OAuth1.0 Authentication with Twitter API

1
Twitter Endpoint & Sample application
2
Creating/Reading Tweets using Postman
3
Creating/Reading Tweets using Rest-Assured

Form Authentication (Spring Security) in Rest-Assured

1
Starting up the student application
2
Form authentication login mechanism

Parsing HTML Data with JSOUP Library

1
Jsoup Part-1
2
jsoup Part-2

Form Authentication with CSRF Token in Rest-Assured

1
Logging into application with CSRF Token implementation
2
Getting the list of all the students

Downloadable Code

1
Downloadable Code

Link & COUPON CODE to REST Assured-Part 3, Serenity BDD framework

1
Bonus Lecture

Yahoo Currency API Vidoes (Obsolete)

1
Explanation of sample web services (Yahoo Currency Service)
2
Extracting Response Information using JSONPath Part1
3
Extracting Response Information using JSONPath Part2
4
Extracting Response Information using JSONPath Part3
5
Extracting Response Information using JSONPath Part4
6
Extracting Response Information using XML Path Part 1
7
Extracting Response Information using XML Path Part 2
8
Adding single assertion to tests
9
Adding multiple assertions to tests
10
Refactoring tests using Request Specification
11
Refactoring tests using Response Specification
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.1
4.1 out of 5
354 Ratings

Detailed Rating

Stars 5
183
Stars 4
123
Stars 3
35
Stars 2
6
Stars 1
7
73c3c879deda3c055ed56bd2f1e2561e
30-Day Money-Back Guarantee

Includes

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