public class ThreadGroup extends AbstractThreadGroup
Modifier and Type | Field and Description |
---|---|
static String |
DELAY
Scheduler start delay, overrides start time
|
static String |
DURATION
Scheduler duration, overrides end time
|
static String |
END_TIME
Scheduler absolute end time
|
static String |
RAMP_TIME
Ramp-up time
|
static String |
SCHEDULER
Whether scheduler is being used
|
static String |
START_TIME
Scheduler absolute start time
|
MAIN_CONTROLLER, NUM_THREADS, ON_SAMPLE_ERROR, ON_SAMPLE_ERROR_CONTINUE, ON_SAMPLE_ERROR_START_NEXT_LOOP, ON_SAMPLE_ERROR_STOPTEST, ON_SAMPLE_ERROR_STOPTEST_NOW, ON_SAMPLE_ERROR_STOPTHREAD
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
ThreadGroup()
No-arg constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getDelay()
Get the startup delay
|
long |
getDuration()
Get the desired duration of the thread group test run
|
long |
getEndTime()
Get the end time value.
|
int |
getRampUp()
Get the ramp-up value.
|
boolean |
getScheduler()
Get whether scheduler is being used
|
long |
getStartTime()
Get the absolute start time value.
|
void |
scheduleThread(JMeterThread thread) |
void |
setDelay(long delay)
Set the startup delay
|
void |
setDuration(long duration)
Set the desired duration of the thread group test run
|
void |
setEndTime(long etime)
Set the EndTime value.
|
void |
setRampUp(int rampUp)
Set the ramp-up value.
|
void |
setScheduler(boolean Scheduler)
Set whether scheduler is being used
|
void |
setStartTime(long stime)
Set the absolute StartTime value.
|
addIterationListener, addTestElement, getNumberOfThreads, getNumThreads, getOnErrorStartNextLoop, getOnErrorStopTest, getOnErrorStopTestNow, getOnErrorStopThread, getSamplerController, initialize, isDone, next, removeIterationListener, setNumThreads, setSamplerController
addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
canRemove, 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, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
public static final String RAMP_TIME
public static final String SCHEDULER
public static final String START_TIME
public static final String END_TIME
public static final String DURATION
public static final String DELAY
public void setScheduler(boolean Scheduler)
Scheduler
- true is scheduler is to be usedpublic boolean getScheduler()
public void setStartTime(long stime)
stime
- -
the StartTime value.public long getStartTime()
public long getDuration()
public void setDuration(long duration)
duration
- in secondspublic long getDelay()
public void setDelay(long delay)
delay
- in secondspublic void setEndTime(long etime)
etime
- -
the EndTime value.public long getEndTime()
public void setRampUp(int rampUp)
rampUp
- the ramp-up value.public int getRampUp()
public void scheduleThread(JMeterThread thread)
scheduleThread
in class AbstractThreadGroup
Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.