REST Assured Learning Guide
Learning Guides | | Links: REST Assured Learning Guide | Source Code

REST Assured is a popular Java tool that makes testing web APIs simple and easy to read. This learning guide uses practical examples to show you how to send requests, check responses and build reliable automated API tests.
REST Assured Learning Guide
REST Assured is a popular Java tool that makes testing web APIs simple and easy to read. This learning guide walks you through practical examples to show you how to send requests, check responses, and build reliable automated API tests.
How to Use This Guide
Each section of the course links to a guide that explains the theory, introduces the API under test and walks through the REST Assured tests. The matching code is in the REST Assured Examples repository on GitHub, so you can run and change the tests while you read.
- Beginners start at Module 1 and work through the modules in order.
- Intermediate readers start at Module 4.
- Advanced readers go straight to the modules they need from Module 7 onward.
Course Modules
| Module | Title | Level | Code |
|---|---|---|---|
| 1 | Foundations | Beginner | ReadMe |
| 2 | Building Requests | Beginner | ReadMe |
| 3 | Validating Responses in Depth | Beginner to Intermediate | ReadMe |
| 4 | Extracting Values and Mapping Objects | Intermediate | ReadMe |
| 5 | Reusable Specifications and Configuration | Intermediate | ReadMe |
| 6 | Schema and Contract Validation | Intermediate | ReadMe |
| 7 | Authentication and Transport Security | Intermediate to Advanced | ReadMe |
| 8 | Filters and Extensibility | Advanced | ReadMe |
| 9 | Data-Driven Tests and API Workflows | Advanced | ReadMe |
| 10 | Stubbing Dependencies with WireMock | Advanced | ReadMe |
| 11 | Spring Boot Integration | Advanced | ReadMe |
| 12 | Real Infrastructure with Testcontainers | Advanced | ReadMe |
Course Examples on GitHub
All of the code for the course is in the REST Assured Examples repository on GitHub. Each course module has its own folder, from module-01 to module-12, with a README that explains what the module covers and how to run its tests. Clone the repository and run the tests as you work through the guide, then change them to see how REST Assured behaves.
git clone https://github.com/javanibble/rest-assured-examples.git