jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nishit Kumar" <nishit.ku...@wipro.com>
Subject ~script :
Date Thu, 13 Nov 2003 06:15:12 GMT

Hi ,
I am trying to run the simple test script given below.
import org.apache.cactus.*;
import junit.extensions.*;
import junit.framework.*;
public class TestControllerServlet extends ServletTestCase {
 /** test Dispatcher */
 private static Dispatcher servlet;
 /** Constructor of the Testclass */
 public TestControllerServlet(String theName) {
 public static Test suite()
     return new TestSuite(TestControllerServlet.class);
 public static void main(String[] theArgs)

 /** Perform initial test setup */
    public void setUp()
  this.servlet = new Dispatcher();

    public void testHandleRequest()
   System.out.println("Inside the testHandleRequest");
  catch (Exception e)
      fail("Excpetion caught running ACRMFilter tests");
I am getting the following exception:
1) On the client side :
t)org.apache.cactus.util.ChainedRuntimeException: Failed to get the test results
 at [http://localhost:7015//ServletRedirector]
2) On the server side:
6521002,name=sdf,context-path=)] Servlet failed with ServletException
javax.servlet.ServletException: Missing service name parameter [ServletTestRedir
ector_Service] in HTTP request.
Can anyone help me with this.
Thanks & Regards,


Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message