[Webtest] canoo test timed out

Parker, Michael webtest@lists.canoo.com
Tue, 28 Sep 2004 10:59:22 +0200


Hi,

one of my testspecs gives me in opposite to testing it manually a 

 [testSpec]  INFO (ClickButton.java:151) - -> gotoTarget(by Button):
name=druck value=weiter
 [testSpec] ERROR (Step.java:340) - Cannot handle unexpected exception in
step ClickButton at file:...:309:  ... stepType="clickbutton")
 [testSpec] java.io.IOException
 [testSpec] 	at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
.java:593)
 [testSpec] 	at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
 [testSpec] 	at
com.meterware.httpunit.HttpWebResponse.readResponseHeader(HttpWebResponse.ja
va:147)
 [testSpec] 	at
com.meterware.httpunit.HttpWebResponse.readHeaders(HttpWebResponse.java:185)
 [testSpec] 	at
com.meterware.httpunit.HttpWebResponse.<init>(HttpWebResponse.java:53)
[...]
 [testSpec] Caused by: java.net.ConnectException: Connection timed out:
connect
 [testSpec] 	at java.net.PlainSocketImpl.socketConnect(Native Method)
 [testSpec] 	at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
 [testSpec] 	at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
 [testSpec] 	at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
 [testSpec] 	at java.net.Socket.connect(Socket.java:452)
 [testSpec] 	at java.net.Socket.connect(Socket.java:402)
 [testSpec] 	at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
[..]

Is there a way to increase the time out value for a connection ?

Regards,
Michael


------------------------------------------------------------------------------
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet ist. Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
----------------------------
For legal and security reasons the information provided in this e-mail is not legally binding. Upon request we would be pleased to provide you with a legally binding confirmation in written form. Any form of unauthorised use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. This message is exclusively for the person addressed or their representative. If you are not the intended recipient of this message and its contents, please notify the sender immediately.

==============================================================================