Testing REST APIs with Serenity BDD and RestAssured

Learn how to test web services in Java with this simple, step-by-step course.

REST APIs are an increasingly important part of modern software architectures. And in a world where speedy delivery is of the essence, comprehensive automated tests are not an option.

From a testing perspective, understanding REST APIs and how to use them is vital, even if you aren't writing tests for an API directly. Testers can reduce the need for slow and expensive automated web tests by using REST APIs to bypass the web UI layer for test preparation or for verifying test results, or in cases where repeatedly exercising the UI would not be justified.

Fortunately, writing acceptance tests for REST APIs is not a difficult task.

In this course, you will learn not only what a REST API is, and how REST APIs work, but you will also learn how to write high quality, expressive REST API tests using Rest Assured and Serenity BDD. You will see how RestAssured provides a clean, fluent API that makes reading and maintaining your REST API test code much easier. And you will learn how Serenity BDD integrates with RestAssured to provide powerful test reporting for REST API tests.

You will also learn how to write BDD executable specifications for REST APIs using Cucumber, and how this can provide rich living documentation for your web services, that can be used by teams using a web service to better understand what theaweb service does in business terms.

Your Instructor

John Ferguson Smart
John Ferguson Smart

When you take a BDD or Test Automation course authored by John Ferguson Smart, you are learning from the best.

A veteran of over three decades experience in software development, and two decades in teaching and mentoring others, John is an international speaker, consultant, author and trainer. He is well known in the Agile community, particularly in the areas of as BDD and test automation. John is the author of the best-selling BDD in Action, and leads development of Serenity BDD, which has been described as the "best open source selenium WebDriver framework.

Course Curriculum

  Welcome to the course!
Available in days
days after you enroll

Frequently Asked Questions

When does the course start and finish?
The course starts now and never ends! It is a completely self-paced online course - you decide when you start and when you finish.
How long do I have access to the course?
How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like - across any and all devices you own.
What if I am unhappy with the course?
We would never want you to be unhappy! If you are unsatisfied with your purchase, contact us in the first 30 days and we will give you a full refund.

This course is closed for enrollment.