O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Rest API Automation With Rest Assured - Novice To Ninja

Video Description

Basics To Advanced Level With Rest Assured, Postman, Java, TestNG, Framework Implementation From Scratch

About This Video

  • No other course covers all the topics covered in this course in such great depth. All the materials are included, including code files.
  • We start from a beginner’s level and go through to an advanced framework level. This is a single course for everything you need to know related to Rest API manual testing and automation.

In Detail

REST Assured is a powerful set of APIs used to automate RESTful APIs/RESTful Web services (just like Selenium WebDriver for Web applications). Almost all web applications use REST APIs to communicate with the back-end and it has gained a lot of popularity in modern-day application architecture. It is very important for QA/automation engineers to understand how to automate REST API tests. Automating REST API tests is crucial for projects because REST API tests are quick to run and more stable, unlike web automation. 90% of the IT industry is now moving towards REST API Automation. We assume that students have no experience in automation/coding and start every topic from scratch. Examples are taken from testing real-time hosted REST APIs to understand how different components can be automated, to give you an idea of industry-level frameworks and to give you confidence.

Table of Contents

  1. Chapter 1 : Introduction
    1. Course Outcome - *** MUST WATCH *** 00:06:41
    2. Introduction 00:01:27
    3. How to reach me anytime and ask questions? *** MUST WATCH *** 00:03:43
  2. Chapter 2 : Java Setup and Installation
    1. Overview and Install Java 00:05:09
    2. Java Environment Setup - Mac 00:06:37
    3. Java Environment Setup – Windows 00:04:07
    4. Install Eclipse – Windows 00:05:16
    5. Eclipse Installation – Mac 00:04:35
  3. Chapter 3 : RestAPI Introduction
    1. RestAPI Architecture - Part 1 00:06:49
    2. RestAPI Architecture - Part 2 00:05:31
    3. What Are Endpoints 00:05:03
    4. Get-POST-PUT-DELETE Requests 00:12:10
    5. Understanding Headers 00:08:54
    6. Twitter API Documentation 00:04:58
  4. Chapter 4 : Rest Client Setup
    1. Postman REST Client Installation 00:05:43
    2. Advanced Rest Client Setup 00:02:41
    3. Rest Easy Client - Setup 00:03:54
  5. Chapter 5 : RestAPI Testing Using Postman Client
    1. What To Verify In RestAPI Testing 00:08:54
    2. Understanding Google Maps API Documentation 00:10:27
    3. How to get Google API Key 00:03:18
    4. GET Request Postman Client - Practical Example 00:10:44
    5. POST Request Postman Client - Practical Example 00:10:20
    6. Delete Request Postman Client - Practical Example 00:05:04
    7. POST-GET-DELETE Complete Workflow - Practical Example 00:06:08
    8. Understanding WADL Documentation 00:07:26
  6. Chapter 6 : RestAssured Setup
    1. RestAssured Setup - Part 1 00:04:51
    2. RestAssured Setup - Part 2 00:12:48
    3. Build Path Clean Up 00:05:16
  7. Chapter 7 : RestAPI Automation Overview
    1. Get Request - Practical Example 00:16:46
    2. How to get response body 00:07:57
    3. Understanding JSON Hierarchy 00:09:30
    4. How To Validate Response Body 00:08:44
    5. POST Request - Practical Example 00:15:50
    6. POST Request with Java Object Serialization 00:14:43
    7. Query Parameters Vs Path Parameters 00:10:53
  8. Chapter 8 : OAuth Real World Twitter APIs Example
    1. Understanding Twitter APIs OAuth 00:10:09
    2. How To Generate Twitter Access Tokens 00:05:26
    3. Twitter GET-POST Request Using Postman 00:09:18
    4. OAuth Environment Setup 00:08:00
    5. Twitter POST Request - Practical Example 00:09:10
  9. Chapter 9 : Validating JSON Response
    1. How to extract JSON response - Part 1 00:08:48
    2. How to extract JSON response - Part 2 00:06:05
  10. Chapter 10 : Twitter End-To-End Workflow
    1. Twitter GET Request 00:08:30
    2. Twitter End-To-End Workflow 00:08:26
    3. Path Parameter Usage In Twitter Workflow 00:04:53
  11. Chapter 11 : Validating XML Response
    1. How to extract XML response - Part 1 00:11:28
    2. How to extract XML response - Part 2 00:05:18
  12. Chapter 12 : Request And Response Logging
    1. Request And Response Logging Introduction 00:03:27
    2. RestAPI Request Logging 00:08:22
    3. RestAPI Response Logging 00:07:50
  13. Chapter 13 : Rest Assured Assertions
    1. What to validate in Rest Assured? 00:07:04
    2. Hard Asserts Using RestAssured 00:12:54
    3. Soft Asserts Using Rest Assured 00:05:56
  14. Chapter 14 : Useful Tricks
    1. RootPath - Practical Example 00:12:56
    2. How To Check Response Time 00:10:47
  15. Chapter 15 : Rest Assured Specifications
    1. Rest Assured Specifications Advantages 00:03:54
    2. Request Specification 00:10:23
    3. Response Specification 00:11:53
    4. Clubbing Request And Response Specification 00:03:23
  16. Chapter 16 : Automation Framework - Part 1
    1. Advantages Of Automation Framework 00:05:21
    2. Maven Project Setup 00:09:23
    3. Organizing Framework Constants 00:12:42
    4. Project Dependencies Setup 00:07:26
  17. Chapter 17 : Automation Framework - Part 2
    1. Building Rest Utilities - Part 1 00:14:56
    2. Building Rest Utilities - Part 2 00:12:54
    3. Building Rest Utilities - Part 3 00:12:06
    4. Building Rest Utilities - Part 4 00:08:04
  18. Chapter 18 : Automation Framework - Part 3
    1. User Timeline Framework Test - Part 1 00:12:03
    2. User Timeline Framework Test - Part 2 00:08:10
    3. User Timeline Framework Test - Part 3 00:10:56
  19. Chapter 19 : Practice Exercise
    1. Practice Exercise Question 00:02:41
    2. Practice Exercise Solution 00:12:59
  20. Chapter 20 : End To End Framework Execution
    1. Running End-To-End Framework Using TestNG 00:07:36
    2. End-To-End Framework Execution Using Maven 00:11:00
  21. Chapter 21 : Build Management With Maven
    1. Introduction 00:02:28
    2. Maven Features and Advantages 00:08:42
    3. Maven Setup And Installation 00:14:57
    4. Creating And Importing Maven Project 00:12:34
    5. Maven Local And Central Repositories 00:09:45
    6. Pom Explanation 00:19:10
    7. Build Lifecycle And Maven Commands 00:16:38
  22. Chapter 22 : Conclusion
    1. BONUS: Other Cool Stuff 00:03:42