Video description
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.
What you will learn
- Explore request and response specs
- Learn to create API test base class
- Understand how to measure response time
- Learn how to handle all HTTP verbs
- Explore advanced Groovy GPATH assertions
- Understand the validation of XML and JSON schemas
Audience
This course is designed for those seeking a swift and efficient grasp of REST Assured’s fundamental features. While no prerequisites are necessary, having some basic knowledge of Java can enhance your learning experience. Familiarity with API concepts is beneficial but not essential. This course accommodates learners with minimal Java and API testing background.
About the Author
James Willett: James is a renowned principal engineer, boasting an illustrious 15-year career in the software industry, specializing in automation and performance testing. With a profound passion for teaching, particularly through online tutorials, James is committed to leveraging his extensive technical expertise to enrich the educational landscape.
Table of contents
- Chapter 1 : Prerequisite Installations and Setup
- Chapter 2 : REST Assured - Preparing Your Framework
- Chapter 3 : REST Assured - Different Request Types
- Chapter 4 : REST Assured - Assert and Extract from the Response Body
- Chapter 5 : REST Assured - Serialization, Schema Validation, and Measuring Response Time
- Chapter 6 : Using Groovy GPath for JSON in REST Assured
-
Chapter 7 : Using Groovy GPath for XML in REST Assured
- GPath XML Part 1 - Setup and Basic Find
- GPath XML Part 2 - Attributes
- GPath XML Part 3 - Extract all XML Nodes with findAll
- GPath XML Part 4 - Extract XML Nodes with an Attribute
- GPath XML Part 5 - Extract Single Node
- GPath XML Part 6 - Depth First Search
- GPath XML Part 7 - Get All Nodes Based on a Condition
- Chapter 8 : Conclusion
Product information
- Title: REST Assured Fundamentals
- Author(s):
- Release date: November 2023
- Publisher(s): Packt Publishing
- ISBN: 9781835466919
You might also like
book
Spring Boot in Practice
Go beyond the basics with Spring Boot! This practical guide presents dozens of relevant scenarios in …
video
REST API Automation With REST Assured - Zero To Hero
REST Assured is an essential API automation tool, widely used for automating RESTful APIs and web …
video
Master Java Web Services and REST API with Spring Boot
This video course offers a comprehensive overview of developing both SOAP and RESTful web services using …
video
REST API Automation Testing from Scratch - REST Assured Java
Explore the world of REST API with this hands-on course. You’ll not only learn the concepts …