• Post Reply Bookmark Topic Watch Topic
  • New Topic

Integration testing with Maven and HTTP Client - connection refused  RSS feed

Damian Mierz
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am still a greenhorn, so please be patient.
I have got following problem when trying to test my rest services (uploading files, downloading them, getting xml representation). Test works fine in eclipse, I use Jetty to run my server application. When I run them in Maven all freezes at:
2009-04-15 10:39:05 com.noelios.restlet.http.StreamClientHelper start
INFO: Starting the HTTP client
As you can see I use restlet for my rest implementation.
After quite long time I get:

If I set timeout for particular test, error is little different:

Only one client try to connect, during Maven freeze I can access rest services via my web browser.

Do you have any ideas what could it be? My test seemed to work earlier, now don't even if I use tomcat instead of Jetty.

Thanks for reading this and any answers.


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!