From: <Mik...@su...> - 2002-10-18 16:37:54
|
My test suite runs fine when my application is running inside WebSphere Studio Application Developer 4.0.2, but not when running inside WebSphere Application Server 4.0.1 and IBM HTTP Server 1.3.19 I get intermittent exceptions like the one below. [java] [WARN] HttpMethod - -Recoverable exception caught when reading response [java] org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP/" [java] at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1220) [java] at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1184) [java] at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:521) [java] at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:741) [java] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:359) [java] at com.gargoylesoftware.htmlunit.WebConnection.getResponse(WebConnection.java:95) [java] at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:287) [java] at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:230) [java] at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:172) [java] at com.supervalu.mrpob.robot.WebClient.getPage(WebClient.java:61) [java] at com.supervalu.mrpob.robot.AbstractTestCase.getPage(AbstractTestCase.java:103) [java] at com.supervalu.mrpob.robot.HomeTestCase01.testAdministrator(HomeTestCase01.java:34) [java] at java.lang.reflect.Method.invoke(Native Method) [java] at junit.framework.TestCase.runTest(TestCase.java:166) [java] at junit.framework.TestCase.runBare(TestCase.java:140) [java] at junit.framework.TestResult$1.protect(TestResult.java:106) [java] at junit.framework.TestResult.runProtected(TestResult.java:124) [java] at junit.framework.TestResult.run(TestResult.java:109) [java] at junit.framework.TestCase.run(TestCase.java:131) [java] at junit.framework.TestSuite.runTest(TestSuite.java:173) [java] at junit.framework.TestSuite.run(TestSuite.java:168) [java] at junit.framework.TestSuite.runTest(TestSuite.java:173) [java] at junit.framework.TestSuite.run(TestSuite.java:168) [java] at junit.textui.TestRunner.doRun(TestRunner.java:74) [java] at junit.textui.TestRunner.run(TestRunner.java:200) [java] at com.supervalu.mrpob.robot.RobotMain.main(RobotMain.java:31) I don't have time to narrow this down to a simple test case at the moment, but I thought you might want some early feedback. I am using HtmlUnit sources from 10/11/2002 including the httpclient jar from CVS. I tried using httpclient 2.0-alpha1 and a httpclient daily build from 9/19/2002. I got a different exception messages from all 3 jars, but the net result was the same. Note the IE 5.5 has no problems with the application. Mike Bresnahan |