| Author |
Connection timed out error while trying to access web page
|
Rajesh Thorat
Greenhorn
Joined: Jun 29, 2010
Posts: 3
|
|
Hi,
I am trying to write a simple Junit test case, where I should be able to access a web page and see if particular element is present on web page.
I have wrote a piece of code as below :
I am executing this Junit test case from Eclipse, but getting following error :
Oct 26, 2012 1:52:32 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
Oct 26, 2012 1:52:32 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
java.net.ConnectException: Connection timed out: connect
Would appreciate a help on this.
Regards,
Vaibhav
|
@
Rajesh Thorat
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32694
|
|
|
Moving discussion as too difficult for “beginning”.
|
 |
 |
|
|
subject: Connection timed out error while trying to access web page
|
|
|