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 6
Using Groovy GPath for JSON in REST Assured
Content Locked
Section 3
GPath JSON Part 3 - Using Min, Max, Collect, and Sum
In this video, we will advance our GPath JSON skills by exploring the dynamic capabilities of 'min', 'max', 'collect', and 'sum'. Discover how to derive valuable insights and statistics from your JSON data with these powerful GPath features.