public interface TestCoordinator extends Coordinator
AUTO_SIMULATOR, LOCAL_SIMULATOR, STATUS_ENDED, STATUS_INIT, STATUS_NOINIT, STATUS_RUNNING
Modifier and Type | Method and Description |
---|---|
int |
addInstancesToSimulator(java.lang.String simName,
int newInstances)
This is how you can change the number of instances currently running
a test before or during execution.
|
void |
addSimulator(java.lang.String simName,
int instances)
This method provides a means for you to add a simulator to the existing
list of simulators executing a test.
|
void |
addSimulator(java.lang.String simName,
int instances,
int cycles)
This method provides a means for you to add a simulator to the existing
list of simulators executing a test.
|
long |
getPaceInMillis()
Returns the pace we are currently running with
|
java.util.Map<java.lang.String,com.itko.lisa.simulator.Simulator> |
getSimulators()
Used to retrieve the set of Simulators that are participating in the test.
|
TestCase |
getTestCase()
Want to see the actual test that's staged by this Coordinator?
|
com.itko.lisa.history.TestRunHistory |
getTestRunHistory()
We need this from time to time.
|
void |
setPaceInMillis(long millis)
If you want this coordinator to introduce artificial delay into restarting a test
instance to meet a certain pace, provide that pace here.
|
void |
setThinking(int thinking)
This is how we throttle to thinking time from 0% (don't honor think time)
to whatever % you wish.
|
addTestEventListener, configureForLoadTest, destroy, endTest, fireTestEvent, fireTestEvents, getActualTestTime, getAllTests, getClient, getCoordinatorServer, getCurrentTests, getDataSetManager, getDataSets, getDefaultReportHistoryParameters, getErrorEventListSize, getErrorEvents, getEstimatedEndTime, getFinalStats, getLocator, getMetricController, getModelArchive, getName, getParent, getRunInfo, getRunName, getStartTime, getStats, getStatus, getTestStats, getUniqueId, hasTestErrorFired, isLoadTesting, makeMessageFromErrorEvents, notifyOfRemoteEventListener, raiseException, removeRemoteEventListener, removeTestEventListener, setParent, setRunName, stageModelArchive, startTest, updateRemoteEventListener
TestCase getTestCase() throws java.rmi.RemoteException
java.rmi.RemoteException
void setThinking(int thinking) throws java.rmi.RemoteException
thinking
- - percent of think time to honor, or 0 not to honor it at alljava.rmi.RemoteException
void setPaceInMillis(long millis) throws java.rmi.RemoteException
millis
- - < 1 means run full speed, and >=1 means we slow down if neededjava.rmi.RemoteException
long getPaceInMillis() throws java.rmi.RemoteException
java.rmi.RemoteException
com.itko.lisa.history.TestRunHistory getTestRunHistory() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Map<java.lang.String,com.itko.lisa.simulator.Simulator> getSimulators() throws java.rmi.RemoteException
java.rmi.RemoteException
Simulator
void addSimulator(java.lang.String simName, int instances) throws java.rmi.RemoteException, LisaException
simName
- - the network name of the simulator to addinstances
- - the number of concurrent test executions you want on
this siumulatorjava.rmi.RemoteException
TestRunException
- when there is an error or licensing issue with staging to the SimulatorLisaException
Simulator
void addSimulator(java.lang.String simName, int instances, int cycles) throws java.rmi.RemoteException, LisaException
simName
- - the network name of the simulator to addinstances
- - the number of concurrent test executions you want on
this siumulatorcycles
- - the number of times to run the test, or 0 to restart
indefinitelyjava.rmi.RemoteException
TestRunException
- when there is an error or licensing issue with staging to the SimulatorLisaException
Simulator
int addInstancesToSimulator(java.lang.String simName, int newInstances) throws java.rmi.RemoteException, TestRunException
simName
- is the network name of the simulator you want changednewInstances
- is the delta of instances you want. For example, a
positive 10 would add 10 instances, while a -10 would reducejava.rmi.RemoteException
TestRunException
- when there is an error or licensing issue with staging to the Simulatorfor any nuances
Copyright © 1998-2014 CA, Inc. All Rights Reserved.