REST API Automation With REST Assured - Novice to Ninja

Video description

This course is a one-stop solution to learn REST API automation from basics to an advanced level with REST Assured, Postman, Java, TestNG, and Framework Implementation from scratch.

About This Video

  • Examples are taken from testing real-time hosted REST APIs to understand how different components can be automated
  • A comprehensive course that starts from beginner’s level and goes through to an advanced framework level
  • A one-stop-shop for becoming an expert in REST API automation framework from scratch

In Detail

REST Assured is a powerful set of APIs used to automate RESTful APIs/RESTful web services. Almost all web applications use REST APIs to communicate with the backend 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 are 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.

This course starts with how to code in Java and then moves toward learning Postman Client, REST Assured, TestNG, Maven. The 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.

The course follows the structure of explaining the concept for the beginner's level and going through the advanced framework level. The one and only course on the Internet with real-time APIs with framework implementation such as Twitter and Google Maps examples, it covers 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.

Who this book is for

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.

Publisher resources

Download Example Code

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 Install Java
    2. Java Environment Setup - Mac
    3. Java Environment 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. 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. What to Verify in REST API Testing
    2. Understanding Google Maps API Documentation
    3. How to Get Google API Key
    4. GET Request Postman Client - Practical Example
    5. POST Request Postman Client - Practical Example
    6. Delete Request Postman Client - Practical Example
    7. POST-GET-DELETE Complete Workflow - Practical Example
    8. 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 Setup and Installation - Windows
    3. Jenkins Setup and Installation - Mac
    4. Jenkins Configuration
    5. Securing Jenkins
    6. Jenkins Plugins Management
    7. 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 - Novice to Ninja
  • Author(s): Let's Kode It
  • Release date: March 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781789134087