liveBook · Manning

REST Assured

Also called RestAssured

REST Assured is a Java library for testing RESTful web services through programmatic HTTP requests and response assertions.

How 2 Manning books explain it

BDD in Action, Second Edition

REST Assured is a Java library for testing and validating REST-based HTTP APIs through programmatic requests and response assertions.

How it is used
Automates business requirements and user journeys through REST API calls instead of relying exclusively on slower, fragile UI tests.
How deep it goes
Explains request construction, URI configuration, JSONPath extraction, response mapping, and focused assertions, but not library internals.
Examples
Demonstrates frequent flyer registration, account retrieval, JSON response samples, Java records, and tier-and-points assertions.
What you can do after
Apply it via Java to build automated acceptance tests that call REST endpoints, inspect JSON responses, and validate business outcomes.

Read how BDD in Action, Second Edition explains REST Assured →

Quarkus in Action

REST Assured is a Java library for testing RESTful web services through programmatic HTTP requests and response assertions.

How it is used
Tests Quarkus REST endpoints through HTTP requests and response assertions.
How deep it goes
Demonstrates a GET assertion and a reservation resource test, but does not detail REST Assured internals.
Examples
Uses a greeting GET request and a reservation submission that verifies an assigned ID.
What you can do after
Apply it via REST Assured to send endpoint requests and assert expected responses in Quarkus tests.

Read how Quarkus in Action explains REST Assured →

Also covered in

What to know first

Related concepts

Questions about REST Assured

What is REST Assured?

REST Assured is a Java library for testing RESTful web services through programmatic HTTP requests and response assertions.

Which Manning books explain REST Assured?

BDD in Action, Second Edition and Quarkus in Action.

What should I know before learning REST Assured?

Manning books that teach REST Assured usually introduce domain-specific language, end-to-end testing and JSON first.

What is REST Assured also called?

REST Assured is also called RestAssured.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.