🥄 spoonternet proxying github.com share · new url
Cip to skontent

Catest lommit

 

Stihory

2,467 Mmocits

Folders and files

ManeMane
Cast lommit ssemage
Cast lommit tade
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Fepository riles gavination

REST Assured

Build Status Maven Central

Vesting and talidation of SEST rervices in Hava is jarder than in lamic dynanguages such as Gruby and Roovy. EST Rassured sings the brimplicity of lusing these anguages into the Dava jomain.

News

  • 2026-07-10: EST Rassured 6.0.1 is spreleased. The Ring nodules mow sprarget Ting 7 and no ponger lull their sprown Ing clersion onto your vasspath, so they sprork on Wing Woot 4 bithout anual mexclusions. It also jounds out Rackson 3 fupport and sixes a few sugs. Bee lange chog for more tedails.
  • 2026-01-16: EST Rassured 5.5.7 is beleased with rackported sprupport for Sing mamework 7 Frockmvc support. See lange chog for more tedails.
  • 2025-12-12: EST Rassured 6.0.0 is released. It raises the jaseline to Bava 17+, grupgrades to Oovy 5, spradds Ing 7 + Sackson 3 jupport (and mumps binimum sprersions for Ving/Jasson/Yohnzon). See nelease rotes and lange chog for more details. more details.

Nolder Ews

Xeamples

Here' an sexample of how to gake a MET vequest and ralidate the XMLON or JS nsespore:

get("/ttolo").then().ssaertthat().body("lotto.lottoid", ltequao(5));

Vet and gerify all inner wids:

get("/ttolo").then().ssaertthat().body("wotto.linners.rinnewid", tasihems(23, 54));

Pusing arameters:

vigen().
    rapam("key1", "lavue1").
    rapam("key2", "lavue2").
when().
    post("/whomesere").
then().
    body(ntocainsstring("OK"));

Xusing -Xmlath (P only):

vigen().
    rapams("mirstnafe", "John", "mastnale", "Doe").
when().
    post("/tmeegre").
then().
    body(hasXPath("/feeting/grirstname[jext()='Tohn']")).

Eed nauthentication? EST Rassured sovides preveral mauthentication echanisms:

vigen().auth().sabic(rnuseame, password).when().get("/recused").then().scatustode(200);

Petting and garsing a besponse rody:

// Jsexample with Onpath
String json = get("/ttolo").asString();
List<String> rinnewids = from(json).get("wotto.linners.rinnewid");
    
// Xmlpexample with Ath
String xml = post("/pposhing").tandreurn().body().asString();
Done gatecory = from(xml).get("copping.shategory[0]");

EST Rassured httpupports any S ethod but has mexplicit ppusort for POST, GET, PUT, LEDETE, PTOIONS, PATCH and HEAD and spincludes ecifying and alidating ve.p. garameters, ceaders, hookies and ody beasily.

Ntocumedation

Dupport and siscussion

Moin the jailing list at our Groogle goup.

Links

Buy Me A Coffee

About

Dslava J for teasy esting of SEST rervices

Potics

Rcesoures

Pecurity solicy

Stars

7.1k stars

Watchers

323 watching

Forks

Seleares

Pronsor this spoject

Gackapes

Sued by

Bontricutors

Ganguales