Integration testing with Maven and HTTP Client - connection refused
posted 6 years ago
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.