org.kuali.rice.ksb.messaging
Class ServiceCallClusterTest
java.lang.Object
org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.rice.test.BaseModuleTestCase
org.kuali.rice.test.BaselineTestCase
org.kuali.rice.ksb.test.KSBTestCase
org.kuali.rice.ksb.messaging.ServiceCallClusterTest
- All Implemented Interfaces:
- MethodAware
public class ServiceCallClusterTest
- extends KSBTestCase
Verify services in a cluster are being both being called
Verify a locally deployed service is always called instead of a remote service in a cluster
Verify that a service in a cluster fails over when one of the services in the cluster goes down.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.test.RiceTestCase |
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getLoadApplicationLifecycle, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getSuiteLifecycles, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceCallClusterTest
public ServiceCallClusterTest()
startClient1
public boolean startClient1()
- Overrides:
startClient1
in class KSBTestCase
startClient2
public boolean startClient2()
- Overrides:
startClient2
in class KSBTestCase
setUp
public void setUp()
throws Exception
- Overrides:
setUp
in class KSBTestCase
- Throws:
Exception
testSOAPClustering
public void testSOAPClustering()
throws Exception
- Throws:
Exception
testClustering
public void testClustering()
throws Exception
- Throws:
Exception
testServiceFailOver
public void testServiceFailOver()
throws Exception
- The services published to the service def table when ServiceCallClusterTest runs used to have
have two different application IDs, TestCl1 and TestCl2. A fix was contributed from IU so that when a
service fails, it fails over to services only using the same application ID. This is correct, but it made
the tests no longer work. The tests now bring up services with the same application ID, TestCl1.
- Throws:
Exception
testSOAPFailOver
public void testSOAPFailOver()
throws Exception
- Throws:
Exception
testDefaultToLocalService
public void testDefaultToLocalService()
throws Exception
- Throws:
Exception
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.