search
Subscription
0
cart
close
You have no products in your basket yet
left
Tech Categories
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Best Sellers
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Best Sellers
New Releases
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
New Releases
Books
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Popular Books
Videos
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Popular Videos
Audiobooks
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Popular Audiobooks
Articles
Newsletters
right
REST API Automation Testing from Scratch - REST Assured Java [Video]

REST API Automation Testing from Scratch - REST Assured Java: Discover how to perform automation testing with REST API [Video]

By Rahul Shetty
$24.99
Video Jan 2018 24 hours 5 minutes 1st Edition
Video
$24.99
Subscription
$15.99 Monthly
Video
$24.99
Subscription
$15.99 Monthly

What do you get with a video?

Feature icon Download this video in MP4 format
Feature icon Access this title in our online reader with advanced features
Feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Jan 25, 2018
Length 24 hours 5 minutes
Edition : 1st Edition
Language : English
ISBN-13 : 9781789133813
Category :
Concepts :

Key benefits

  • Get a solid understanding of REST API automation using REST assured with real-time examples
  • Design and implement structured API automation frameworks with REST assured API
  • Become familiar with REST manual testing tool—Postman

Description

Explore the world of REST API with this hands-on course. You’ll not only learn the concepts from scratch but also find out how giant companies such as Jira, Twitter, Facebook, and Google Maps are using REST API to automate their services. The course starts with the basics of REST API and proceeds toward brushing up your Java skills. Next, you’ll become familiar with the concept of Postman and test APIs with Postman. As you advance, you’ll discover different types of REST requests and set up the REST assured environment for automation. Next, you’ll optimize scripts to match framework standards and closely study the grant type authorization flow with an interesting example. Moving ahead, you’ll solve complex queries from JSON with simple POJO methods and learn to automate APIs with the help of many examples. Toward the end, you’ll migrate a project to the TestNG framework and understand the importance of Maven in framework development. By the end of this course, you’ll have complete knowledge of REST API automation testing. The code bundle for this course is available at https://github.com/packtpublishing/rest-api-automation-testing-from-scratch--rest-assured-java

What you will learn

Understand the REST API architecture Perform API testing with Postman Handle Google and Facebook OAuth 2.0 authorization grant types Create Maven project and import into Eclipse Study serialization and deserialization for JSON inputs and outputs Create BAT file to run the whole project with a single click

What do you get with a video?

Feature icon Download this video in MP4 format
Feature icon Access this title in our online reader with advanced features
Feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Jan 25, 2018
Length 24 hours 5 minutes
Edition : 1st Edition
Language : English
ISBN-13 : 9781789133813
Category :
Concepts :

Table of Contents

18 Chapters
REST API Basics and Terminology Packt Packt
Introduction to REST API
Introduction to REST API and Where it is Used in Project Architecture
Understanding GET, POST, PUT DELETE, HTTP, and CRUD Operations of API
Path, Query Parameters, and Headers in REST API
Getting Started with REST API Testing Packt Packt
Introduction to Postman and Google Maps APIs
Understanding the Add Place API and Executing it Through Postman
Understanding the Get and Delete Place API Using GET and DELETE HTTP Methods Through Postman
Understanding the Update Place API Using the PUT HTTP Method Through Postman
REST Assured Setup for API Automation Testing Packt Packt
Setting Up Rest Assured Maven Project with Java and Eclipse Installation
Building a REST API Automation Testing Framework to Add Places and Validate Status Codes
Validating the REST API Responses Packt Packt
Assertions on JSON Response Body and Headers Through Automated Code
Parsing the JSON Response Body Using JSON Path Class
Integrating Multiple APIs with the Common JSON Response Values
Building End-to-End Automation Using GET, POST, and PUT HTTP Methods
Importance of Junit/TestNG Assertions in Validating the Responses
Diving in Depth Automating REST API Packt Packt
Understanding the Structure of Complex Nested JSON and its Array Notations
Retrieving the JSON Array Size and its Elements Using the JSON Path
Iterating Over Every Element of the JSON Array and Accessing Elements in It
Retrieving JSON Nodes on Condition Logic Using the JSON Path
Real-Time Example to Solve Business Logic Using the JSON Response
Handling Dynamic JSON Payloads with Parameterization Packt Packt
Why Dynamic JSON Payloads are Important to Understand
Introduction to Library API
Testing REST Assured for Library API Using the Add Book HTTP Method
Sending Parameters to Payload Through Test
Understanding TestNG Data Provider for Parameterization
Example on Parameterization of API Tests with Multiple Datasets
How to Handle with Static JSON Payloads
Real-World Example Automating Jira APIs Packt Packt
How Jira API Works
Cookie Authentication API for Jira Requests
GET and POST APIs in Jira to Create Bugs
Defining Path Parameters in REST Assured Code Using Add Comment API
Importance of the Session Filter Cookie in REST Assured Code
Sending Attachments to REST API Using the MultiPart Method in REST Assured
Integrating Query Params and Path Params in a Single Test to Restrict the Results
Parsing a Complex Jira JSON Response to Retrieve the Added Comment with Code Logic
Importance of Assertions and HTTP Validations on REST API
Handling Google and Facebook OAuth 2.0 Authorization Grant Types Packt Packt
Introduction to OAuth 2.0 and Different Grant Types
Understanding the Grant Type Authorization Flow with Real-Time Example
Flow Procedure in Achieving OAuth 2.0 Authentication Mechanism
Practicing the OAuth 2.0 Project to Retrieve the Courses List
REST Assured Automation for OAuth 2.0 Authorization Code Packt Packt
Performing REST Assured Automation Testing for the OAuth Project
Integrating Web UI Automation to Generate an Authorization Code
Formatting a URL String to Retrieve Codes Using Java Methods
How to Deal with the Client Credentials Grant Type for OAuth Flow
Deserialization Using POJO Classes with REST Assured Packt Packt
What is Serialization and Deserialization in REST Assured?
Libraries Needed to Support Serialization in REST Assured
Strategies in Parsing Complex Nested JSON using POJO Classes
Creating POJO Classes for the Real-Time Nested Array in JSON
End-to-End Automation Examples using POJO Deserialization
Solving Complex Queries from JSON Using Simple POJO Methods -Part 1
Solving Complex Queries from JSON Using Simple POJO Methods-Part 2
Serialization of the Input Payload Using Google Maps API Example Packt Packt
Google Maps Add Place JSON to Implement Serialization
Building POJO Classes to Construct JSON Payload to API
End-to-End Testing with Serialization
Understanding Request and Response Spec Builders in REST Assured Packt Packt
Significance of Spec Builders in REST Assured
Practical Example of Implementing Spec Builders and Optimizing Code
Maven and Cucumber Basics Packt Packt
Importance of Maven in Framework Development
Installing and Configuring Maven
Understanding Terminologies of Maven
Creating a Maven Project and Importing into Eclipse
Introduction to Cucumber
What is Gherkin Syntax and How it Works
Understanding the Scenarios Outline in Cucumber
Feature Files and Importance of Step Definition in Cucumber
Creating a Project Template in Cucumber
Understanding Cucumber Dependencies
Understanding the Terminologies of Automation
Mapping Step Definition to a Feature File
Using Tidy Gherkin Plugin to Generate Step Definitions
Running the Tests with testRunner
Importance of Regular Expressions in Feature Files
Reusing Functions with Different Data
Cucumber BDD API Framework Development from Scratch - 1 Packt Packt
Learning Plan
Creating a Maven Project with Cucumber REST Assured Dependencies
Building a Cucumber Feature File for REST Assured API Tests
Building Test Runner and Step Definition Files to Test the Add Place API Feature
Implementing Real Code in Step Definition Files with Reusable Components
Running the Test in Cucumber Standards with Necessary Configuration Changes
Building Utility Files and Implement a Logging Feature in the framework
Implementing Mechanisms to Drive Global Property Values from the Properties File
Data-Driven Testing Mechanism for API Tests using the Cucumber Example Feature
Parameterizing API Test with Multiple Data Sets using Cucumber Framework Features
What are Enum Classes? How the Framework can Utilize the Enum Concepts?
Removing Hardcoded Resource Details with Enum Class Methods
Building End-to-End Test Case with the Add and Delete Place in Framework Standards – Part 1
Building End-to-End Test Case in Framework Standards – Part 2
Creating Additional Scenarios in Framework to Reuse Existing Step Definitions
Importance of Cucumber Hooks in Setting up Preconditions for API Tests
Optimizing the Framework Tests with All Necessary Validations
Running the Complete Framework Using Maven Commands
Generating Excellent Cucumber HTML Reporting with Additional Plugins
Cucumber BDD API Framework Development from Scratch - 2 Packt Packt
Introduction to Jenkins CI Tool
Integrating the API Framework into Jenkins and Triggering with the New Job Setup
Setting Up the Parameterized Jenkin Job for the API Framework with Multiple Tags
Understanding the Git Version Control System Packt Packt
Introduction to Git
Importance of GitHub and its Uses
Creating Git Config and Repositories
How to Push Code to a Remote Repository
Understanding Staging and Commit in Git
Adding a Remote Repository and Pushing the Committed Code
End-to-End Working Example on Git Commands – Part 1
End-to-End Working Example on Git Commands – Part 2
Importance of Branching in Git
Resolving Merge Conflicts with Git
Excel Integration with REST Assured Test Packt Packt
Apache POI API and Downloading Instructions
Strategy to Access Excel Data
Getting Rows and Cells from an Excel Sheet
Retrieving Data from Excel Based on a Condition
Practice Exercise - Excel Driven Testing – Part 1
Practice Exercise- Excel Driven Testing – Part 2
Practice Exercise- Excel Driven Testing – Part 3
Introduction to Library API
Library API Postman and REST Assured Examples
Converting HashMap into JSON
Testing Excel Integration with REST Assured
Java Basics Packt Packt
Java Program Principles
Classes and Objects in Java
Strings in Java
String Practice Exercises
What is an interface?
How Java Classes can Take Advantage of the Interface
Using Inheritance in JAVA
Practical Examples on Types of Inheritance
Introduction to Arrays
Single-Dimensional and Multidimensional Arrays Usage
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQS

How can I download a video package for offline viewing? Packt Packt
  1. Login to your account at Packtpub.com.
  2. Click on "My Account" and then click on the "My Videos" tab to access your videos.
  3. Click on the "Download Now" link to start your video download.
How can I extract my video file? Packt Packt

All modern operating systems ship with ZIP file extraction built in. If you'd prefer to use a dedicated compression application, we've tested WinRAR / 7-Zip for Windows, Zipeg / iZip / UnRarX for Mac and 7-Zip / PeaZip for Linux. These applications support all extension files.

How can I get help and support around my video package? Packt Packt

If your video course doesn't give you what you were expecting, either because of functionality problems or because the content isn't up to scratch, please mail customercare@packt.com with details of the problem. In addition, so that we can best provide the support you need, please include the following information for our support team.

  1. Video
  2. Format watched (HTML, MP4, streaming)
  3. Chapter or section that issue relates to (if relevant)
  4. System being played on
  5. Browser used (if relevant)
  6. Details of support
Why can’t I download my video package? Packt Packt

In the even that you are having issues downloading your video package then please follow these instructions:

  1. Disable all your browser plugins and extensions: Some security and download manager extensions can cause issues during the download.
  2. Download the video course using a different browser: We've tested downloads operate correctly in current versions of Chrome, Firefox, Internet Explorer, and Safari.