org.jboss.test.cluster.apache_tomcat
Class HttpSessionReplicationTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.JBossTestCase (src) 
          extended byorg.jboss.test.JBossClusteredTestCase (src) 
              extended byorg.jboss.test.cluster.apache_tomcat.HttpSessionReplicationTestCase

public class HttpSessionReplicationTestCase
extends JBossClusteredTestCase (src)

This testcase is written to test HttpSessionReplication with one apache webserver loadbalancing multiple tomcat/JBoss instances.

See Also:
HttpSessionReplicationTestCase (src) , Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.JBossTestCase (src)
delegate, deploymentException, log
 
Constructor Summary
HttpSessionReplicationTestCase(java.lang.String name)
           
 
Method Summary
static Test suite()
           
 void testApacheConnection()
          Tests connection to the Apache Server.
 void testHttpSessionReplication()
          Main method that deals with the Http Session Replication Test
 
Methods inherited from class org.jboss.test.JBossClusteredTestCase (src)
getAdaptors, getDeploySetup, getHttpURLs, getNamingURLs, getServers, initDelegate, setServerNames, testServerFound
 
Methods inherited from class org.jboss.test.JBossTestCase (src)
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, invoke, restartDBPool, sleep, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpSessionReplicationTestCase

public HttpSessionReplicationTestCase(java.lang.String name)
Method Detail

suite

public static Test suite()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testApacheConnection

public void testApacheConnection()
                          throws java.lang.Exception
Tests connection to the Apache Server. Note: We deal with just one Apache Server. We can bounce the different JBoss/Tomcat servers and Apache will loadbalance.

Throws:
java.lang.Exception

testHttpSessionReplication

public void testHttpSessionReplication()
                                throws java.lang.Exception
Main method that deals with the Http Session Replication Test

Throws:
java.lang.Exception