REST Assured
REST Assured is a Java library for testing RESTful web services through programmatic HTTP requests and response assertions.
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.
Also covered in
What to know first
- domain-specific languageA domain-specific language is a language or notation tailored to expressing concepts, operations, or solutions within a particular problem or application domain.
- end-to-end testingEnd-to-end testing evaluates a complete system workflow across integrated components, from an external entry point to its observable outcome.
- JSONJSON is a language-independent text-based data-interchange format that represents structured values using objects, arrays, strings, numbers, booleans, and null.
Related concepts
- api calluses · An API call is a programmatic request or invocation sent through an application programming interface to retrieve data or invoke an exposed operation.
- end-to-end testinguses · End-to-end testing evaluates a complete system workflow across integrated components, from an external entry point to its observable outcome.
- endpointuses · An endpoint is an addressable interface of a service through which clients access a resource or invoke an operation, typically via a network request.
- JSONPathuses · JSONPath is a query language for selecting and extracting values from JSON data.
- RESTuses · REST is an architectural style for distributed systems that organizes interactions around identifiable resources and their representations, using a uniform interface and constraints such as statelessness and cacheability.
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.

