jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <nishit.ku...@wipro.com>
Subject Script failing when running through ant
Date Thu, 11 Dec 2003 08:25:50 GMT


Hi All,

When I am trying to run my test script through ant I am getting the following exception:

Testsuite: com.hutchison3g.core.sdf.proxy.crs.ACRMFilterTest
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3.515 sec

Testcase: testLogAll took 3.125 sec
	Caused an ERROR
Failed to get the test results at [http://10.200.224.15:7001/FilterRedirector]
org.apache.cactus.util.ChainedRuntimeException: Failed to get the test results at [http://10.200.224.15:7001/FilterRedirector]
	at org.apache.cactus.client.connector.http.DefaultHttpClient.dispatch49_doTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj[1k]:131)
	at org.apache.cactus.client.connector.http.DefaultHttpClient.around49_doTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj[1k]:1222)
	at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj[1k]:115)
	at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj[1k]:334)
	at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTest(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj[1k]:282)
	at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj[1k]:258)
	at org.apache.cactus.FilterTestCase.runTest(FilterTestCase.java:291)
	at org.apache.cactus.FilterTestCase.runBare(FilterTestCase.java:253)
org.apache.cactus.client.ParsingException: Not a valid response [500 Internal Server Error]
	at org.apache.cactus.client.connector.http.DefaultHttpClient.callGetResult(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj[1k]:251)
	at org.apache.cactus.client.connector.http.DefaultHttpClient.dispatch49_doTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj[1k]:126)
	at org.apache.cactus.client.connector.http.DefaultHttpClient.around49_doTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj[1k]:1222)
	at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj[1k]:115)
	at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj[1k]:334)
	at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTest(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj[1k]:282)
	at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj[1k]:258)
	at org.apache.cactus.FilterTestCase.runTest(FilterTestCase.java:291)
	at org.apache.cactus.FilterTestCase.runBare(FilterTestCase.java:253)

Testcase: testLogAll

Independently the test case is working perfectly fine. Can anyone suggest what could be the
problem.

Thanks & Regards,
Nishit

-----Original Message-----
From: Eric Pugh [mailto:epugh@upstate.com]
Sent: Thursday, December 11, 2003 12:20 AM
To: 'Cactus Users List'
Subject: RE: how do you automate batch test run + output in HTML?


Try using the maven plugin..  It starts/stops your server and does a nice report...

> -----Original Message-----
> From: Ian Huynh [mailto:ianh@hubspan.com]
> Sent: Wednesday, December 10, 2003 6:28 PM
> To: cactus-user@jakarta.apache.org
> Subject: how do you automate batch test run + output in HTML?
>
>
> We have a large number of JUnit tests that are currently running via
> http://localhost/test/ServletTestRunner?suite=mytestsuite_01&x
> sl=cactus-report.xsl
> http://localhost/test/ServletTestRunner?suite=mytestsuite_02&x
sl=cactus-report.xsl http://localhost/test/ServletTestRunner?suite=mytestsuite_03&xsl=cactus-repo
rt.xsl


what i'd like to do is
1. automatically run these tests
2. capture the html output
3. group/sort the outputs into java doc style (3 frames)

is there such a facility already built-in to Cactus?

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org


Confidentiality Notice

The information contained in this electronic message and any attachments to this message are
intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information.
If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com
immediately
and destroy all copies of this message and any attachments.

Mime
View raw message