Closed GoogleCodeExporter closed 8 years ago
Hi,
Thanks for your example project and good description of the project. I've fixed
the problem in trunk now for all your examples. Please try it out. I've
deployed version 1.6.2-SNAPSHOT to sonatype so add:
<repositories>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots />
</repository>
</repositories>
to try it out.
Original comment by johan.ha...@gmail.com
on 2 May 2012 at 12:11
Hi,
Works for me too! Thanks again! Would you mind briefly describing what
the issue was so that I don't make the same mistake somewhere down the
line.
Kevin.
On 5/2/12 8:11 AM, "rest-assured@googlecode.com"
<rest-assured@googlecode.com> wrote:
Original comment by kmin...@gmail.com
on 2 May 2012 at 1:32
REST Assured didn't close the idling connections and Restlet was configured to
accept at most 10 connections at the same time and thus blocked subsequent
requests. So I had to close the idling connections in REST Assured just as you
did when using plain http client. Another problem was when getting the response
body as an inputstream because then the connection cannot be closed until the
user calls close on the inputstream. Thus I had to wrap the inputstream from
the http client in my own inputstream that closed the connection when closing
the inputstream.
Original comment by johan.ha...@gmail.com
on 2 May 2012 at 1:53
Original issue reported on code.google.com by
kmin...@gmail.com
on 1 May 2012 at 7:18Attachments: