Class ServletTestClient

All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AnnotatedServletTests, EjbServletTests, RunAsServletTests, SecureServletTests, WebserviceServletTests

public abstract class ServletTestClient extends TestClient
  • Field Details

    • serverUrl

      protected URL serverUrl
  • Constructor Details

    • ServletTestClient

      public ServletTestClient(String servletName)
  • Method Details

    • setUp

      protected void setUp() throws Exception
      Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
      Specified by:
      setUp in class TestClient
      Throws:
      Exception
    • invoke

      protected Object invoke(String methodName)
    • newServletProxy

      protected <T> T newServletProxy(Class<T> clazz)