public abstract class AbstractDynamicThreadGroupModel
extends org.apache.jmeter.threads.AbstractThreadGroup
implements org.apache.jmeter.testelement.TestStateListener
| Modifier and Type | Field and Description |
|---|---|
static String |
HOLD |
static String |
ITERATIONS |
static String |
LOG_FILENAME |
protected org.apache.jmeter.reporters.ResultCollector |
logFile |
static String |
RAMP_UP |
protected boolean |
running |
static String |
STEPS |
static String |
TARGET_LEVEL |
protected Set<DynamicThread> |
threads |
protected static long |
WAIT_TO_DIE |
| Constructor and Description |
|---|
AbstractDynamicThreadGroupModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addThread(DynamicThread threadWorker) |
String |
getHold() |
long |
getHoldSeconds() |
String |
getIterationsLimit() |
long |
getIterationsLimitAsLong() |
String |
getLogFilename() |
int |
getNumberOfThreads() |
String |
getRampUp() |
long |
getRampUpSeconds() |
String |
getSteps() |
long |
getStepsAsLong() |
String |
getTargetLevel() |
double |
getTargetLevelAsDouble() |
int |
getTargetLevelAsInt() |
double |
getTargetLevelFactored() |
double |
getUnitFactor() |
int |
numberOfActiveThreads() |
protected void |
saveLogRecord(String marker,
String threadName,
String arrivalID) |
void |
setHold(String value) |
void |
setIterationsLimit(String val) |
void |
setLogFilename(String value) |
void |
setRampUp(String value) |
void |
setSteps(String value) |
void |
setTargetLevel(String value) |
void |
testEnded() |
void |
testEnded(String s) |
void |
testStarted() |
void |
testStarted(String s) |
addIterationListener, addTestElement, addTestElementOnce, getNumThreads, getOnErrorStartNextLoop, getOnErrorStopTest, getOnErrorStopTestNow, getOnErrorStopThread, getSamplerController, initialize, isDone, next, removeIterationListener, setNumThreads, setSamplerController, start, startNextLoop, stop, stopThread, tellThreadsToStop, triggerEndOfLoop, verifyThreadsStopped, waitThreadsStoppedaddPropertiesValues, 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, traverseprotected static final long WAIT_TO_DIE
public static final String LOG_FILENAME
public static final String TARGET_LEVEL
public static final String RAMP_UP
public static final String STEPS
public static final String ITERATIONS
public static final String HOLD
protected final Set<DynamicThread> threads
protected final org.apache.jmeter.reporters.ResultCollector logFile
protected volatile boolean running
public void setLogFilename(String value)
public String getLogFilename()
public void testStarted()
testStarted in interface org.apache.jmeter.testelement.TestStateListenerpublic void testStarted(String s)
testStarted in interface org.apache.jmeter.testelement.TestStateListenerpublic void testEnded()
testEnded in interface org.apache.jmeter.testelement.TestStateListenerpublic void testEnded(String s)
testEnded in interface org.apache.jmeter.testelement.TestStateListenerpublic int numberOfActiveThreads()
numberOfActiveThreads in class org.apache.jmeter.threads.AbstractThreadGrouppublic int getNumberOfThreads()
getNumberOfThreads in class org.apache.jmeter.threads.AbstractThreadGrouppublic void addThread(DynamicThread threadWorker)
public void setTargetLevel(String value)
public String getTargetLevel()
public int getTargetLevelAsInt()
public void setRampUp(String value)
public String getRampUp()
public long getRampUpSeconds()
public double getUnitFactor()
public void setSteps(String value)
public String getSteps()
public long getStepsAsLong()
public void setHold(String value)
public String getHold()
public long getHoldSeconds()
public double getTargetLevelAsDouble()
public double getTargetLevelFactored()
public long getIterationsLimitAsLong()
public String getIterationsLimit()
public void setIterationsLimit(String val)
Copyright © 2017. All rights reserved.