Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Java: Automated API Testing with REST Assured

Java: Automated API Testing with REST Assured

59mBeginner2025-08-05

Authors

Angie Jones

Angie Jones

Java Champion, Senior Director, and Master Inventor

Course details

In this course, Java Champion Angie Jones dives into the world of automated API testing with Java and Rest Assured and shows you how to ensure your APIs function flawlessly. Learn the essentials of making API requests—GET, POST, PUT, DELETE—and reinforce your understanding of API anatomy. Discover how to send supplementary data, retrieve and parse responses, and validate API outputs against expected results. Delve into handling complex response bodies, serializing request data, and deserializing responses into Java objects. Build your ability to independently test APIs, save time, and reduce manual errors. By the end of the course, you will be equipped to write reliable tests that deliver accurate validations of API interactions.

Learning objectives
Make API requests, obtain API responses, and create automated verifications with Rest-Assured
Explain the necessity of API testing and the benefits of automating API tests using REST Assured in Java.
Demonstrate how to construct various types of API requests (GET, POST, PUT, DELETE) with and without additional data using REST Assured.
Evaluate API responses through validation techniques and apply serialization/deserialization methods to effectively process request and response data.

Skills covered

RESTAPIsJavaFull-Stack Web DevelopmentOracleWeb DevelopmentProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off

Concepts

0. Introduction

  • 01 - Gain fast feedback with automated API testing
  • 02 - Using GitHub Codespaces

1. Getting Started with REST Assured

  • 03 - The challenge with API testing
  • 04 - REST Assured testing library
  • 05 - Product catalog API

2. Making API Requests

  • 06 - Anatomy of a request
  • 07 - Request methods
  • 08 - Making a GET request
  • 09 - Making a POST request
  • 10 - Making a PUT request
  • 11 - Making a DELETE request
  • 12 - Serializing a request body
  • 13 - Challenge - Use requests to complete the lifecycle of a resource
  • 14 - Solution - Use requests to complete the lifecycle of a resource

3. Validating API Responses

  • 15 - Anatomy of a response
  • 16 - Verifying status code of a response
  • 17 - Accessing the response body
  • 18 - Verifying fields of a response
  • 19 - Verifying complex response bodies
  • 20 - Verifying response headers
  • 21 - Deserializing a response body
  • 22 - Challenge - Verify API response
  • 23 - Solution - Verify API response

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal