org.jboss.test.cluster.httpsessionreplication
Class HttpSessionReplicationUnitTestCase
java.lang.Object
TestCase
org.jboss.test.JBossTestCase (src)
org.jboss.test.JBossClusteredTestCase (src)
org.jboss.test.cluster.httpsessionreplication.HttpSessionReplicationUnitTestCase
- public class HttpSessionReplicationUnitTestCase
- extends JBossClusteredTestCase (src)
- See Also:
org.jboss.test.cluster.httpsessionreplication
,
Serialized Form
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 |
HttpSessionReplicationUnitTestCase
public HttpSessionReplicationUnitTestCase(java.lang.String name)
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
getPropertiesFile
public void getPropertiesFile()
- Reads in the properties file
testServerFound
public void testServerFound()
throws java.lang.Exception
- Description copied from class:
JBossTestCase (src)
- This just checks the server is there... so you should get at least one
success!
Also checks if an exception occurred during deployment, and throws
any such exception from here.
- Overrides:
testServerFound
in class JBossClusteredTestCase (src)
- Throws:
java.lang.Exception