Hello,

We are having a test suite where we are testing the output of our jsp
taglibs. The tests are coded as testXXX() and endXXX(
com.meterware.httpunit.WebResponse).

The problem i'm facing is - individual tests pass without any error/failure.
But when I run the tests as a testsuite, I'm getting the following
exception. Also, the popping of this exception is not regular. I get this
exception when run on my laptop, but not get the same when run on our test
server:

Can anybody help me in identifying the cause of this exception?

   <error message="java.net.SocketException: Software caused connection
abort: recv failed" type="
org.apache.commons.httpclient.HttpRecoverableException">
org.apache.commons.httpclient.HttpRecoverableException:
java.net.SocketException: Software caused connection abort: recv failed
   at org.apache.commons.httpclient.HttpMethodBase.readResponse(
HttpMethodBase.java:1952)
   at org.apache.commons.httpclient.HttpMethodBase.processRequest(
HttpMethodBase.java:2631)
   at org.apache.commons.httpclient.HttpMethodBase.execute(
HttpMethodBase.java:1085)
   at org.apache.commons.httpclient.HttpClient.executeMethod(
HttpClient.java:674)
   at org.apache.commons.httpclient.HttpClient.executeMethod(
HttpClient.java:558)
   at
org.apache.cactus.internal.client.connector.http.HttpClientConnectionHelper.connect_aroundBody0
(HttpClientConnectionHelper.java:142)
   at
org.apache.cactus.internal.client.connector.http.HttpClientConnectionHelper.connect_aroundBody1$advice
(HttpClientConnectionHelper.java:306)
   at
org.apache.cactus.internal.client.connector.http.HttpClientConnectionHelper.connect
(HttpClientConnectionHelper.java)
   at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.callRunTest
(DefaultHttpClient.java:162)
   at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody0
(DefaultHttpClient.java:80)
   at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice
(DefaultHttpClient.java:306)
   at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest(
DefaultHttpClient.java)
   at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runWebTest
(HttpProtocolHandler.java:159)
   at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody0
(HttpProtocolHandler.java:80)
   at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody1$advice
(HttpProtocolHandler.java:306)
   at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest
(HttpProtocolHandler.java)
   at org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(
ClientTestCaseCaller.java:144)
   at org.apache.cactus.internal.AbstractCactusTestCase.runBareClient(
AbstractCactusTestCase.java:215)
   at org.apache.cactus.internal.AbstractCactusTestCase.runBare(
AbstractCactusTestCase.java:133)
</error>

Thank you,
Venkatesh

Reply via email to