Campoie / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

Allow constant body expressions #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
E.g. 

expect().body(constant(ITEMS, ADDRESS, STREET), equalTo("something").when()..

where ITEMS, ADDRESS, and STREET are pre-defined (by user) strings that build 
up the . notation using String.format().

Original issue reported on code.google.com by johan.ha...@gmail.com on 18 Jan 2011 at 8:14

GoogleCodeExporter commented 9 years ago
This is possible using a rootpath and withArgs.

Original comment by johan.ha...@gmail.com on 18 Aug 2011 at 2:34