[Webtest] Stream closed

Stefanie Wilms webtest@lists.canoo.com
Thu, 05 Oct 2006 11:30:32 +0200


Hi,

can anyone help me with the following error?
com.canoo.webtest.engine.StepFailedException: Step[setSelectField "Choose destination" (6/7)]: Script error loading page executing webtest at: setSelectField Wrapped java.io.IOException: Stream closed (http://localhost:8080/tra/javascript/traFunctions.js#6) Source code: function () { [native code, arity=0] } 

[setSelectField] Exception in thread "HtmlUnit Managed Thread #1" org.mozilla.javascript.EvaluatorException: Unable to send the XMLHttpRequest: java.io.IOException: Unable to parse header: HTP/1.1 200    OK
[setSelectField]        at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:95)
[setSelectField]        at org.mozilla.javascript.Context.reportRuntimeError(Context.java:966)
[setSelectField]        at org.mozilla.javascript.Context.reportRuntimeError(Context.java:1022)
[setSelectField]        at com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest.doSend(XMLHttpRequest.java:348)
[setSelectField]        at com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest.access$000(XMLHttpRequest.java:68)
[setSelectField]        at com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest$1.run(XMLHttpRequest.java:307)
[setSelectField]        at java.lang.Thread.run(Unknown Source)
[setSelectField]        at com.gargoylesoftware.htmlunit.ThreadManager$1.run(ThreadManager.java:101)
[setSelectField] org.apache.commons.httpclient.ProtocolException: The server localhost failed to respond with a valid HTTP response


Stefanie