REST Assured Fundamentals
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
REST Assured Fundamentals
Included with
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Build and configure a scalable REST Assured test automation framework.
Perform and validate GET, POST, PUT, and DELETE HTTP requests effectively.
Use JSON Path and Groovy GPath for powerful data extraction and assertions.
Validate responses using JSON/XML schemas and measure API performance metrics.
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
There are 8 modules in this course
This course features Coursera Coach!
A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Master the essentials of REST API testing with REST Assured, the industry-standard Java library for validating HTTP responses. You’ll gain the confidence to build robust, scalable test automation frameworks and extract meaningful insights from API responses using modern tools and techniques. The course begins with prerequisite setup, introducing you to the essential tools and target APIs used throughout. You'll then build a REST Assured test framework from the ground up, configuring request and response specifications, and setting up endpoints. By mid-course, you’ll dive deep into executing various HTTP requests—GET, POST (JSON & XML), PUT, DELETE—while applying path and query parameters effectively. Next, you'll explore asserting and extracting data from responses, including headers and payloads. You’ll work with JSON Path and POJOs, validate schemas, and measure response times. The final modules cover Groovy GPath for advanced JSON and XML manipulation, helping you extract, filter, and analyze data efficiently. This course is perfect for testers, developers, and QA professionals aiming to boost their API automation skills. A basic understanding of Java and REST APIs is recommended.
In this module, we will introduce the course and set up the essential environment to get started with REST Assured. You'll learn about the software tools needed and get acquainted with two sample APIs—Video Game DB and Football Data API—that will be used for hands-on learning. This foundation ensures you're ready to dive into API testing with REST Assured.
What's included
4 videos1 reading
4 videos•Total 11 minutes
- Course Introduction•3 minutes
- Prerequisite Software•2 minutes
- Target Application 1 - Video Game DB•4 minutes
- Target Application 2 - Football Data API•2 minutes
1 reading•Total 10 minutes
- Full Course Resources•10 minutes
In this module, we will build the groundwork for a reusable and scalable REST Assured testing framework. You'll learn how to create a project, write your first test, and apply best practices like base classes, request/response specifications, and external config files. These are essential steps toward maintaining a clean and manageable API automation suite.
What's included
7 videos1 assignment
7 videos•Total 31 minutes
- Create Intellij Project and Install REST Assured•4 minutes
- Write Your First REST Assured Test•4 minutes
- Setting Up a Base Class•6 minutes
- Request Specification•6 minutes
- Response Specification•3 minutes
- Create Config File for Video Game DB•3 minutes
- Adding Endpoints to an Interface•5 minutes
1 assignment•Total 15 minutes
- REST Assured - Preparing Your Framework - Assessment •15 minutes
In this module, we will explore how to perform different types of HTTP requests using REST Assured. From GET to DELETE, you’ll see how to send requests with JSON and XML payloads, utilize path and query parameters, and set up configuration for multiple APIs. This module deepens your understanding of real-world API interactions.
What's included
8 videos1 assignment
8 videos•Total 41 minutes
- GET Request•5 minutes
- POST Request with JSON•8 minutes
- POST Request with XML•5 minutes
- PUT Request•5 minutes
- DELETE Request•4 minutes
- Path Parameters•3 minutes
- Create Config File for Football API•5 minutes
- Query Parameters•7 minutes
1 assignment•Total 15 minutes
- REST Assured - Different Request Types - Assessment•15 minutes
In this module, we will focus on verifying and extracting data from HTTP responses. You'll learn to assert values in the body, capture headers, and extract detailed information using JSON Path expressions. This is crucial for ensuring the correctness and reliability of your API tests.
What's included
4 videos1 assignment
4 videos•Total 25 minutes
- Assert the Body of a HTTP Response•8 minutes
- Extract the Body of a HTTP Response•6 minutes
- Extract the Headers of a HTTP Response•4 minutes
- Extract Explicit Data from the Body with JSON Path•7 minutes
1 assignment•Total 15 minutes
- REST Assured - Assert and Extract from the Response Body - Assessment•15 minutes
In this module, we will cover advanced concepts like object serialization, schema validation, and performance measurement. You'll learn to convert JSON responses into POJOs, verify data against schemas, and track response times to evaluate API speed and efficiency.
What's included
5 videos1 assignment
5 videos•Total 34 minutes
- Object Serialization•7 minutes
- Validating Response Against a XML Schema•8 minutes
- Validating Response Against a JSON Schema•6 minutes
- Convert JSON Response to POJO•7 minutes
- Measuring Response Time in REST Assured•6 minutes
1 assignment•Total 15 minutes
- REST Assured - Serialization, Schema Validation, and Measuring Response Time - Assessment•15 minutes
In this module, we will unlock the power of Groovy GPath for advanced JSON data processing. You’ll learn to extract single and multiple values, perform statistical calculations, and combine queries for deeper insights. These skills help make your tests more data-driven and flexible.
What's included
4 videos1 assignment
4 videos•Total 28 minutes
- GPath JSON Part 1 - Setup and Basic Find•9 minutes
- GPath JSON Part 2 - Using findAll to Extract Multiple Data•6 minutes
- GPath JSON Part 3 - Using Min, Max, Collect, and Sum•5 minutes
- GPath JSON Part 4 - Combining Finds and Using Parameters•8 minutes
1 assignment•Total 15 minutes
- Using Groovy GPath for JSON in REST Assured - Assessment•15 minutes
In this module, we will extend GPath techniques to XML data structures. You'll learn to extract elements, attributes, and nodes based on conditions, and navigate deeply nested XML using depth-first strategies. This is essential for working with SOAP-based or XML-centric APIs.
What's included
7 videos1 assignment
7 videos•Total 29 minutes
- GPath XML Part 1 - Setup and Basic Find•4 minutes
- GPath XML Part 2 - Attributes•2 minutes
- GPath XML Part 3 - Extract all XML Nodes with findAll•5 minutes
- GPath XML Part 4 - Extract XML Nodes with an Attribute•4 minutes
- GPath XML Part 5 - Extract Single Node•5 minutes
- GPath XML Part 6 - Depth First Search•4 minutes
- GPath XML Part 7 - Get All Nodes Based on a Condition•5 minutes
1 assignment•Total 15 minutes
- Using Groovy GPath for XML in REST Assured - Assessment•15 minutes
In this module, we will wrap up the course with a quick recap and words of encouragement. You'll reflect on what you've learned and be ready to apply REST Assured for real-world API testing scenarios. Congratulations on reaching the finish line!
What's included
1 video2 assignments
1 video•Total 1 minute
- Thanks for Watching!•1 minute
2 assignments•Total 75 minutes
- Full Course Assessment•60 minutes
- Full Course Practice Assessment•15 minutes
Instructor
Explore more from Support and Operations
- Status: Free Trial
Course
- Status: Free Trial
Course
- Status: Free Trial
Course
- Status: Free Trial
Specialization
Why people choose Coursera for their career
Frequently asked questions
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
More questions
Financial aid available,
