jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magnus Grimsell" <magnus.grims...@idainfront.se>
Subject RE: Failed to get the test results
Date Tue, 23 Jan 2007 16:57:08 GMT
How do you run your tests? Could you submit an Ant-script or something like that.

What does the application.xml of your ear look like?

> -----Original Message-----
> From: matts Sundin [mailto:matts.sundin@hotmail.com]
> Sent: Tuesday, January 23, 2007 5:38 PM
> To: cactus-user@jakarta.apache.org
> Subject: Failed to get the test results
> 
> 
> 
> Hello,
> 
> I am new in using cactus and have the following error, when I 
> run my test:
> 
> .E
> Time: 1.328
> There was 1 error:
> 1) 
> testCase1(org.apache.cactus.ServletTestCase)org.apache.cactus.
> util.ChainedRuntimeException: 
> Failed to get the test results at 
> [http://localhost:8080/BOB_JUnitWebClient/ServletRedirector]
> 	at 
> org.apache.cactus.internal.client.connector.http.DefaultHttpCl
> ient.doTest_aroundBody0(DefaultHttpClient.java:92)
> 	at 
> org.apache.cactus.internal.client.connector.http.DefaultHttpCl
> ient.doTest_aroundBody1$advice(DefaultHttpClient.java:306)
> 	at 
> org.apache.cactus.internal.client.connector.http.DefaultHttpCl
> ient.doTest(DefaultHttpClient.java)
> 	at 
> org.apache.cactus.internal.client.connector.http.HttpProtocolH
> andler.runWebTest(HttpProtocolHandler.java:159)
> 	at 
> org.apache.cactus.internal.client.connector.http.HttpProtocolH
> andler.runTest_aroundBody0(HttpProtocolHandler.java:80)
> 	at 
> org.apache.cactus.internal.client.connector.http.HttpProtocolH
> andler.runTest_aroundBody1$advice(HttpProtocolHandler.java:306)
> 	at 
> org.apache.cactus.internal.client.connector.http.HttpProtocolH
> andler.runTest(HttpProtocolHandler.java)
> 	at 
> org.apache.cactus.internal.client.ClientTestCaseCaller.runTest
> (ClientTestCaseCaller.java:144)
> 	at 
> org.apache.cactus.internal.AbstractCactusTestCase.runBareClien
> t(AbstractCactusTestCase.java:215)
> 	at 
> org.apache.cactus.internal.AbstractCactusTestCase.runBare(Abst
> ractCactusTestCase.java:133)
> 	at 
> org.apache.cactus.internal.AbstractTestSuite.runTest(AbstractT
> estSuite.java:259)
> 	at 
> org.apache.cactus.internal.AbstractTestSuite.run_aroundBody0(A
> bstractTestSuite.java:250)
> 	at 
> org.apache.cactus.internal.AbstractTestSuite.run_aroundBody1$a
> dvice(AbstractTestSuite.java:224)
> 	at 
> org.apache.cactus.internal.AbstractTestSuite.run(AbstractTestS
> uite.java)
> 	at 
> com.ubs.swidBOB.v5.batch.basel2.RealEstateServiceTest.main(Rea
> lEstateServiceTest.java:102)
> org.apache.cactus.internal.client.ParsingException: Not a 
> valid response 
> [500 Internal Server Error]
> 	at 
> org.apache.cactus.internal.client.connector.http.DefaultHttpCl
> ient.callGetResult(DefaultHttpClient.java:211)
> 	at 
> org.apache.cactus.internal.client.connector.http.DefaultHttpCl
> ient.doTest_aroundBody0(DefaultHttpClient.java:87)
> 	at 
> org.apache.cactus.internal.client.connector.http.DefaultHttpCl
> ient.doTest_aroundBody1$advice(DefaultHttpClient.java:306)
> 	at 
> org.apache.cactus.internal.client.connector.http.DefaultHttpCl
> ient.doTest(DefaultHttpClient.java)
> 	at 
> org.apache.cactus.internal.client.connector.http.HttpProtocolH
> andler.runWebTest(HttpProtocolHandler.java:159)
> 	at 
> org.apache.cactus.internal.client.connector.http.HttpProtocolH
> andler.runTest_aroundBody0(HttpProtocolHandler.java:80)
> 	at 
> org.apache.cactus.internal.client.connector.http.HttpProtocolH
> andler.runTest_aroundBody1$advice(HttpProtocolHandler.java:306)
> 	at 
> org.apache.cactus.internal.client.connector.http.HttpProtocolH
> andler.runTest(HttpProtocolHandler.java)
> 	at 
> org.apache.cactus.internal.client.ClientTestCaseCaller.runTest
> (ClientTestCaseCaller.java:144)
> 	at 
> org.apache.cactus.internal.AbstractCactusTestCase.runBareClien
> t(AbstractCactusTestCase.java:215)
> 	at 
> org.apache.cactus.internal.AbstractCactusTestCase.runBare(Abst
> ractCactusTestCase.java:133)
> 	at 
> org.apache.cactus.internal.AbstractTestSuite.runTest(AbstractT
> estSuite.java:259)
> 	at 
> org.apache.cactus.internal.AbstractTestSuite.run_aroundBody0(A
> bstractTestSuite.java:250)
> 	at 
> org.apache.cactus.internal.AbstractTestSuite.run_aroundBody1$a
> dvice(AbstractTestSuite.java:224)
> 	at 
> org.apache.cactus.internal.AbstractTestSuite.run(AbstractTestS
> uite.java)
> 	at 
> com.ubs.swidBOB.v5.batch.basel2.RealEstateServiceTest.main(Rea
> lEstateServiceTest.java:102)
> 
> FAILURES!!!
> Tests run: 1,  Failures: 0,  Errors: 1
> 
> I have absolutely no idea what to do.
> The war is in the same EAR like my EJB.
> Could anyone help me?
> 
> -Thanks
> 
> regards
> 
> Matts
> 
> _________________________________________________________________
> Die MSN Homepage liefert Ihnen alle Infos zu Ihren Lieblingsthemen. 
> http://ch.msn.com/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 

Mime
View raw message