0% found this document useful (0 votes)
345 views2 pages

Rest Assured Tutorial For REST API Automation Testing: Client Server Basics

This document provides an overview of Rest Assured, a Java-based library for testing RESTful web services. It allows creating customizable HTTP requests to test business logic combinations and validate HTTP responses by checking status codes, headers, and body content. The tutorial series will cover REST and client-server basics, configuring Eclipse with Rest-Assured, writing tests to validate response status and headers, and reading JSON response bodies.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
345 views2 pages

Rest Assured Tutorial For REST API Automation Testing: Client Server Basics

This document provides an overview of Rest Assured, a Java-based library for testing RESTful web services. It allows creating customizable HTTP requests to test business logic combinations and validate HTTP responses by checking status codes, headers, and body content. The tutorial series will cover REST and client-server basics, configuring Eclipse with Rest-Assured, writing tests to validate response status and headers, and reading JSON response bodies.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
  • Client Server Basics: Describes the basic architecture and HTTP protocol fundamental to client-server communication in REST APIs.
  • REST API Testing – Basics: Introduces the basic strategies for testing REST API endpoints, including response status verification and header validation.
  • RESTful Basics: Covers core RESTful service concepts and the importance of stateless communication and scalable system design.

Rest Assured Tutorial for REST API

Automation Testing

This is a series of Rest Assured Tutorial which is one of the most used library
for REST API Automation Testing. Rest-Assured is a Java-based library that is
used to test RESTful Web Services. This library behaves like a headless Client
to access REST web services. We can create highly customize-able HTTP
Requests to send to the Restful server. This enables us to test a wide variety
of Request combinations and in turn test different combinations of core
business logic.
Rest-Assured library also provides the ability to validate the HTTP Responses
received from the server. For e.g. we can verify the Status code, Status
message, Headers and even the Body of the response. This makes Rest-
Assured a very flexible library that can be used for testing.
 
This is a complete series of Rest Assured Tutorial for REST API Automation
Testing where the following topics will be covered:
 

Client Server Basics


 Client Server Architecture and HTTP Protocol
 HTTP Request
 HTTP Response
 

RESTful Basics
 What is REST?
 Rest Architectural Elements
 

REST API Testing – Basics


 Configure Eclipse with Rest-Assured
 REST API Test using Rest Assured
 Validate Response Status using Rest Assured
 Validate Response Header using Rest Assured
 Read JSON Response Body using Rest Assured
 

You might also like