Book Image

REST Assured Fundamentals [Video]

By : James Willett Ltd.
Book Image

REST Assured Fundamentals [Video]

By: James Willett Ltd.

Overview of this book

Join our comprehensive REST Assured course, a guided journey into the essentials of REST API testing. Begin with software setup and real-world applications such as the Video Game Database and Football Data API. Create an IntelliJ project, install REST Assured, and dive into practical exercises. Learn REST Assured fundamentals, from base class setup to request and response specifications, and configuring files. The course covers object serialization, validation against XML and JSON schemas, and response time measurement. Delve into GPath for JSON, starting with basic find operations. Additionally, you will become skilled at extracting data from responses, including headers and explicit data using JSON path. Explore advanced features such as ‘findAll’ for extracting multiple data points, and apply functions such as ‘Min’, ‘Max’, ‘Collect’, and ‘Sum’. Combine finds with parameters for precision. For XML data, master GPath mirroring, including attributes, node extraction, depth-first searches, and node filtering based on conditions. By the end of the course, you will possess a profound understanding of REST Assured and its advanced capabilities.
Table of Contents (8 chapters)
Chapter 3
REST Assured - Different Request Types
Content Locked
Section 2
POST Request with JSON
In this video, we will guide you through the process of making a POST request with JSON data in REST Assured. We will cover the essential steps and syntax needed to perform a POST request with JSON payload in this framework.