Skip to content

Instantly share code, notes, and snippets.

@hstaudacher
Created February 20, 2013 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hstaudacher/4994161 to your computer and use it in GitHub Desktop.
Save hstaudacher/4994161 to your computer and use it in GitHub Desktop.
@HttpTest( method = Method.POST, path = "/", file = "YOUR_JSON_FILE", type = MediaType.APPLICATION_JSON )
public void testPost() {
String repsonseBody = response.getBody();
MyJsonParser.parse( responseBody );
...
}
@deverma
Copy link

deverma commented Dec 21, 2015

Hi,

is there any way to provide JSON file created dynamically, rathe than statically providing the file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment