org.apache.jmeter.threads
Class ReflectionThreadGroup
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.threads.ThreadGroup
org.apache.jmeter.threads.ReflectionThreadGroup
- All Implemented Interfaces:
- Cloneable, Controller, SampleListener, Serializable, TestElement
- public class ReflectionThreadGroup
- extends ThreadGroup
ThreadGroup used for reflection purposes. ThreadGroup
has a
LoopController
which loops as many times as specified on the
ThreadGroup gui. During reflection, we don't need the
LoopController
because we need to run the Sampler (for example,
JNDISampler
) only once. Thus we create this
ReflectionThreadGroup
which has a {link #nextEntry()}
which doesn't make use of the LoopController
.
- Version:
- $Revision: 1.6 $
- Author:
- Khor Soon Hin
- See Also:
- Serialized Form
Fields inherited from class org.apache.jmeter.threads.ThreadGroup |
DELAY, DURATION, END_TIME, MAIN_CONTROLLER, NUM_THREADS, ON_SAMPLE_ERROR, ON_SAMPLE_ERROR_CONTINUE, ON_SAMPLE_ERROR_STOPTEST, ON_SAMPLE_ERROR_STOPTHREAD, RAMP_TIME, SCHEDULER, START_TIME |
Methods inherited from class org.apache.jmeter.threads.ThreadGroup |
addIterationListener, addTestElement, getDefaultNumThreads, getDefaultRampUp, getDelay, getDuration, getEndTime, getNumThreads, getOnErrorStopTest, getOnErrorStopThread, getRampUp, getSamplerController, getScheduler, getStartTime, initialize, isDone, next, sampleOccurred, sampleStarted, sampleStopped, setDelay, setDuration, setEndTime, setNumThreads, setRampUp, setSamplerController, setScheduler, setStartTime |
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty |
Methods inherited from interface org.apache.jmeter.testelement.TestElement |
canRemove, clear, clone, getProperty, getPropertyAsBoolean, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse |
ReflectionThreadGroup
public ReflectionThreadGroup()
Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.