Registry / testing / rest-assured

rest-assured

JSON →
library6.0.0javamavenunverified

REST Assured is a Java DSL for easy testing of REST services, providing a fluent interface for HTTP requests and response validation.

<dependency> <groupId>io.rest-assured</groupId> <artifactId>rest-assured</artifactId> <version>6.0.0</version> </dependency>
INSTALL
IMPORT
SIG · REST-ASSURED
R
rest-assured
testingjavav6.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RestAssured
io.restassured.RestAssured

Performs a GET request and validates the response status and body.

import static io.restassured.RestAssured.*; import static org.hamcrest.Matchers.*; public class RestTest { public static void main(String[] args) { given().when().get("https://api.example.com/users/1") .then().statusCode(200).body("name", equalTo("John")); } }
Debug
Known issues
breakingREST Assured 6.0.0 requires Java 17+ and may have breaking changes from version 5.x.
fix
Check migration guide from 5.x to 6.x; update imports and method calls accordingly.
affects: >=6.0.0
Upgrade
Version history
6.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
8
Amazon
1
Resources
rest-assured — mvn dependency:get rest-assured · libregistry