You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing and validation of REST services in Java is harder than in dynamic languages
such as Ruby and Groovy. REST Assured brings the simplicity of using these
languages into the Java domain.
News
2025-05-22: REST Assured 5.5.5 is released that fixes problems with rest-assured-bom file after moving to new deployment method. See change log for more details.
2025-05-22: REST Assured 5.5.3 is released with improved cookie handling when using CSRF cookie propagation. See change log for more details.
2025-05-14: REST Assured 5.5.2 is released with bug fixes and minor improvements. See change log for more details.
// Example with JsonPathStringjson = get("/lotto").asString();
List<String> winnerIds = from(json).get("lotto.winners.winnerId");
// Example with XmlPathStringxml = post("/shopping").andReturn().body().asString();
Nodecategory = from(xml).get("shopping.category[0]");
REST Assured supports any HTTP method but has explicit support for POST, GET, PUT, DELETE, OPTIONS, PATCH and HEAD and includes specifying and validating e.g. parameters, headers, cookies and body easily.