public abstract class AbstractDynamicThreadGroup extends AbstractDynamicThreadGroupModel
| Modifier and Type | Field and Description |
|---|---|
protected Thread |
threadStarter |
static String |
UNIT |
static String |
UNIT_MINUTES |
static String |
UNIT_SECONDS |
HOLD, ITERATIONS, LOG_FILENAME, logFile, RAMP_UP, running, STEPS, TARGET_LEVEL, threads, WAIT_TO_DIE| Constructor and Description |
|---|
AbstractDynamicThreadGroup() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Thread |
getThreadStarter(int groupIndex,
org.apache.jmeter.threads.ListenerNotifier listenerNotifier,
org.apache.jorphan.collections.ListedHashTree testTree,
org.apache.jmeter.engine.StandardJMeterEngine engine) |
String |
getUnit() |
double |
getUnitFactor() |
String |
getUnitStr() |
static String |
getUnitStr(String unit) |
abstract boolean |
isLimitReached() |
boolean |
isRunning() |
protected void |
joinThreadFrom(Set<DynamicThread> threadSet) |
void |
setUnit(String value) |
void |
start(int groupIndex,
org.apache.jmeter.threads.ListenerNotifier listenerNotifier,
org.apache.jorphan.collections.ListedHashTree testTree,
org.apache.jmeter.engine.StandardJMeterEngine engine) |
void |
startNextLoop() |
void |
stop()
Forceful stop of test calls this
|
boolean |
stopThread(String threadName,
boolean forced) |
void |
tellThreadsToStop() |
void |
threadFinished(org.apache.jmeter.threads.JMeterThread jMeterThread) |
boolean |
verifyThreadsStopped() |
void |
waitThreadsStopped() |
addThread, getHold, getHoldSeconds, getIterationsLimit, getIterationsLimitAsLong, getLogFilename, getNumberOfThreads, getRampUp, getRampUpSeconds, getSteps, getStepsAsLong, getTargetLevel, getTargetLevelAsDouble, getTargetLevelAsInt, getTargetLevelFactored, numberOfActiveThreads, saveLogRecord, setHold, setIterationsLimit, setLogFilename, setRampUp, setSteps, setTargetLevel, testEnded, testEnded, testStarted, testStartedaddIterationListener, addTestElement, addTestElementOnce, getNumThreads, getOnErrorStartNextLoop, getOnErrorStopTest, getOnErrorStopTestNow, getOnErrorStopThread, getSamplerController, initialize, isDone, next, removeIterationListener, setNumThreads, setSamplerController, triggerEndOfLoopaddPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertyfinalize, getClass, notify, notifyAll, toString, wait, wait, waitcanRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traversepublic static final String UNIT
public static final String UNIT_MINUTES
public static final String UNIT_SECONDS
protected transient Thread threadStarter
public void start(int groupIndex,
org.apache.jmeter.threads.ListenerNotifier listenerNotifier,
org.apache.jorphan.collections.ListedHashTree testTree,
org.apache.jmeter.engine.StandardJMeterEngine engine)
start in class org.apache.jmeter.threads.AbstractThreadGroupprotected abstract Thread getThreadStarter(int groupIndex, org.apache.jmeter.threads.ListenerNotifier listenerNotifier, org.apache.jorphan.collections.ListedHashTree testTree, org.apache.jmeter.engine.StandardJMeterEngine engine)
public void threadFinished(org.apache.jmeter.threads.JMeterThread jMeterThread)
public void waitThreadsStopped()
waitThreadsStopped in class org.apache.jmeter.threads.AbstractThreadGrouppublic abstract boolean isLimitReached()
public boolean verifyThreadsStopped()
verifyThreadsStopped in class org.apache.jmeter.threads.AbstractThreadGrouppublic void tellThreadsToStop()
tellThreadsToStop in class org.apache.jmeter.threads.AbstractThreadGrouppublic void stop()
stop in class org.apache.jmeter.threads.AbstractThreadGrouppublic boolean stopThread(String threadName, boolean forced)
stopThread in class org.apache.jmeter.threads.AbstractThreadGroupprotected void joinThreadFrom(Set<DynamicThread> threadSet)
public boolean isRunning()
public void setUnit(String value)
public String getUnit()
public double getUnitFactor()
getUnitFactor in class AbstractDynamicThreadGroupModelpublic String getUnitStr()
public void startNextLoop()
startNextLoop in class org.apache.jmeter.threads.AbstractThreadGroupCopyright © 2017. All rights reserved.