REST Assured Fundamentals
Learn how to write automated integration tests for your REST APIs with REST Assured, one of the most popular frameworks on the market, and never look back!
What you'll learn
Like any high quality software, REST APIs need testing, and REST Assured is the perfect solution for it. In this course, REST Assured Fundamentals, you will learn how to write REST API tests. First, you will get a brief overview of REST APIs and the REST Assured framework. Then, you will dive into hands-on coding, writing, and sending a variety of HTTP requests, validating the headers and the body of each response, as well as setting them on requests. Finally, you will explore a variety of useful techniques that make working with the framework more pleasant. When you're finished with this course, you’ll have the skills needed to write your own suite of automated tests for a REST API.
Table of contents
- Introduction 1m
- Demo: Project Setup 4m
- Your Browser as a Client 2m
- Peek and Print for Debugging 3m
- HTTP Headers Overview 2m
- Demo: Testing a Basic Response 3m
- Demo: Testing a Validatable Response 2m
- Introducing Hamcrest 2m
- Leveraging Hamcrest Matchers 2m
- Demo: Leveraging Hamcrest Matchers 2m
- Testing Headers as Maps 1m
- Module Summary 1m
- Introduction 2m
- Useful Global Variables 2m
- Demo: Setting Useful Global Variables 1m
- More Complex Global Variables 2m
- Understanding the Config Object 2m
- Demo: Changing the Redirect Config 3m
- Demo: Creating a Failure Config 3m
- Understanding RequestSpecification 1m
- Demo: RequestSpecification 2m
- Understanding ResponseSpecification 1m
- Demo: ResponseSpecification 2m
- Logging 1m
- Demo: Logging 1m
- Module Summary 1m