REST API Automation With REST Assured - Zero To Hero

Video description

REST Assured is an essential API automation tool, widely used for automating RESTful APIs and web services, a staple in modern web applications. As REST APIs become increasingly prevalent in application architecture, it's crucial for QA and automation engineers to master REST API test automation. These tests are favored in projects for their speed and stability compared to web automation, aligning with the industry's significant shift towards REST API automation. In this course, we begin with Java fundamentals, progressing to practical applications in Postman Client, REST Assured, TestNG, and Maven. Our real-time REST API examples provide hands-on experience, equipping you with the knowledge of industry-standard frameworks and boosting your confidence in API test automation. The course follows the structure of explaining the concept for the beginner's level and going through the advanced framework level. In it we cover real-time APIs with framework implementation such as Twitter and Google Maps examples, and everything you need to know related to REST API manual testing and automation. By the end of this course, you'll have a detailed understanding of REST API automation frameworks. With all this knowledge gained, you should be easily able to pass Selenium automation interviews.

What you will learn

  • Understand and use Postman to send requests (GET, POST, PUT, DELETE)
  • Learn how to write tests using real-time hosted REST APIs
  • Understand and use JSONPath, XML Path to assert and extract response
  • Understand how to write efficient and less redundant code
  • Add multiple assertions to a single test
  • Learn authentication using OAuth on Twitter’s real-time hosted REST APIs


Quality assurance professionals and manual testers looking to start a career in test automation will benefit highly from the course. Quality assurance automation professionals wishing to intensify their current test automation skillsets and fresh graduates who want to make a dream career in software engineering should go for this course. Quality assurance team leads, and managers can get the advantage as well. No prior coding or automation experience is needed; this course covers all the necessary topics from scratch.

About the Author

Let's Kode It: Let's Kode It is here with a mission to teach everyone a new skill—doing what they have always wanted to do. They are a group of software professionals with more than 10 years of expertise in different areas of software industries and working as team leads in multinational companies. All their instructors have a master's degree from reputed universities. Their expertise lies in various fields of Software Development Life Cycle (SDLC)—from application development and testing to system administration.

Be it programming or creating a professional-looking MS Word document, they believe anyone can code and coding is not something out of this world. Coding can be of different types and in different areas: some may want to become a web developer, where it's all about front-end languages; some may choose to become a back-end developer; while others may choose to become hands-on testers with automation, where the domain is completely different from development.

They believe you only need to be willing to learn and everything else follows. They excel from software inception to implementation. Their goal is to offer high-quality technology courses, which will suit a newbie as well as an intermediate. They focus on technology, which is essential in order to perform in today's job market.

Table of contents

  1. Chapter 1 : Introduction
    1. Course Outcome
    2. Instructor Introduction
    3. How to Reach Me Anytime and Ask Questions
  2. Chapter 2 : Java Setup and Installation
    1. Java Overview And Version Selection
    2. Java Install And Setup - Mac
    3. Java Install And Setup - Windows
    4. Install Eclipse – Windows
    5. Eclipse Installation – Mac
  3. Chapter 3 : REST API Introduction
    1. REST API Architecture – Part 1
    2. REST API Architecture - Part 2
    3. What are Endpoints
    4. Get-POST-PUT-DELETE Requests
    5. Understanding Headers
    6. What To Verify In RestAPI Testing
    7. Twitter API Documentation
  4. Chapter 4 : REST Client Setup
    1. Postman REST Client Installation
    2. Advanced REST Client Setup
    3. REST Easy Client - Setup
  5. Chapter 5 : REST API Testing Using Postman Client
    1. Understanding Google Maps API Documentation
    2. How to Get Google API Key
    3. GET Request Postman Client - Practical Example
    4. POST Request Postman Client - Practical Example
    5. Delete Request Postman Client - Practical Example
    6. POST-GET-DELETE Complete Workflow - Practical Example
    7. Understanding WADL Documentation
  6. Chapter 6 : REST Assured Setup
    1. REST Assured Setup - Part 1
    2. REST Assured Setup - Part 2
    3. Build Path Clean Up
  7. Chapter 7 : REST API Automation Overview
    1. Get Request - Practical Example
    2. How to get response body
    3. Understanding JSON Hierarchy
    4. How to Validate Response Body
    5. POST Request - Practical Example
    6. POST Request with Java Object Serialization
    7. Query Parameters Versus Path Parameters
  8. Chapter 8 : OAuth Real World Twitter APIs Example
    1. Understanding Twitter APIs OAuth
    2. How to Generate Twitter Access Tokens
    3. Twitter GET-POST Request Using Postman
    4. OAuth Environment Setup
    5. Twitter POST Request - Practical Example
  9. Chapter 9 : Validating JSON Response
    1. How to extract JSON response - Part 1
    2. How to extract JSON response - Part 2
  10. Chapter 10 : Twitter End-To-End Workflow
    1. Twitter GET Request
    2. Twitter End-To-End Workflow
    3. Path Parameter Usage in Twitter Workflow
  11. Chapter 11 : Validating XML Response
    1. How to Extract XML Response - Part 1
    2. How to Extract XML Response - Part 2
  12. Chapter 12 : Request and Response Logging
    1. Request and Response Logging Introduction
    2. REST API Request Logging
    3. REST API Response Logging
  13. Chapter 13 : REST Assured Assertions
    1. What to validate in REST Assured?
    2. Hard Asserts Using REST Assured
    3. Soft Asserts Using REST Assured
  14. Chapter 14 : Useful Tricks
    1. Root Path - Practical Example
    2. How to Check Response Time
  15. Chapter 15 : REST Assured Specifications
    1. REST Assured Specifications Advantages
    2. Request Specification
    3. Response Specification
    4. Clubbing Request and Response Specification
  16. Chapter 16 : Automation Framework - Part 1
    1. Advantages of Automation Framework
    2. Maven Project Setup
    3. Organizing Framework Constants
    4. Project Dependencies Setup
  17. Chapter 17 : Automation Framework - Part 2
    1. Building REST Utilities - Part 1
    2. Building REST Utilities - Part 2
    3. Building REST Utilities - Part 3
    4. Building REST Utilities - Part 4
  18. Chapter 18 : Automation Framework - Part 3
    1. User Timeline Framework Test - Part 1
    2. User Timeline Framework Test - Part 2
    3. User Timeline Framework Test - Part 3
  19. Chapter 19 : Practice Exercise
    1. Practice Exercise Question
    2. Practice Exercise Solution
  20. Chapter 20 : End-To-End Framework Execution
    1. Running End-To-End Framework Using TestNG
    2. End-To-End Framework Execution Using Maven
  21. Chapter 21 : Git and GitHub – Version Control System
    1. Git and GitHub Introduction
    2. Git Installation on Windows
    3. Git Installation on Mac
    4. Create Local Git Repository - Staging and Commit
    5. File Checkin - GitHub Remote Repository
    6. Advantages and Importance of Git Branches
    7. File Checkin and Resolve Merge Conflicts - Real Time Example
    8. Course Code Files on GitHub
    9. GitHub Project Check-in and Git Clone
  22. Chapter 22 : Continuous Integration with Jenkins
    1. Jenkins Features and Advantages
    2. Jenkins Prerequisites
    3. Jenkins Setup And Installation - Generic WAR File
    4. Jenkins Setup and Installation - Windows
    5. Jenkins Setup and Installation – Mac
    6. Jenkins Configuration
    7. Securing Jenkins
    8. Jenkins Plugins Management
    9. Building A Freestyle Project Using Jenkins and GitHub
  23. Chapter 23 : Build Management with Maven
    1. Introduction
    2. Maven Features and Advantages
    3. Maven Setup and Installation
    4. Creating and Importing Maven Project
    5. Maven Local and Central Repositories
    6. Pom Explanation
    7. Build Lifecycle and Maven Commands
  24. Chapter 24 : Conclusion
    1. BONUS: Other Cool Stuff

Product information

  • Title: REST API Automation With REST Assured - Zero To Hero
  • Author(s): Let's Kode It
  • Release date: March 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781789134087