Campoie / rest-assured

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

ResponseBody#print and ResponseBody#prettyPrint prints the output twice #243

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Response response = get("users");
2. ResponseBody body = response.getBody();
3. body.print(); or body.prettyPrint();

What is the expected output? What do you see instead?
Expected:
[{"id":"0001","value":"Mr Foo Bar"}]
Actual:
[{"id":"0001","value":"Mr Foo Bar"}]
[{"id":"0001","value":"Mr Foo Bar"}]

What version of the product are you using? On what operating system?

<dependency>
  <groupId>com.jayway.restassured</groupId>
  <artifactId>rest-assured</artifactId>
  <version>1.7.2</version>
</dependency>

OS: Windows 7 Enterprise

Please provide any additional information below.

Original issue reported on code.google.com by shev...@gmail.com on 6 Jun 2013 at 3:15

GoogleCodeExporter commented 9 years ago
Cannot reproduce this with the latest version.

Original comment by johan.ha...@gmail.com on 7 Jun 2013 at 6:22