|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Controller
This interface is used by JMeterThread in the following manner: while (running && (sampler = controller.next()) != null)
| Field Summary |
|---|
| Fields inherited from interface org.apache.jmeter.testelement.TestElement |
|---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
| Method Summary | |
|---|---|
void |
addIterationListener(LoopIterationListener listener)
Controllers have to notify listeners of when they begin an iteration through their sub-elements. |
void |
initialize()
Called to initialize a controller at the beginning of a test iteration. |
boolean |
isDone()
Indicates whether the Controller is done delivering Samplers for the rest of the test. |
Sampler |
next()
Delivers the next Sampler or null |
void |
removeIterationListener(LoopIterationListener iterationListener)
Unregister IterationListener |
void |
triggerEndOfLoop()
Trigger end of loop condition on controller (used by Start Next Loop feature) |
| Methods inherited from interface org.apache.jmeter.testelement.TestElement |
|---|
addTestElement, 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 |
| Method Detail |
|---|
Sampler next()
boolean isDone()
void addIterationListener(LoopIterationListener listener)
void initialize()
void removeIterationListener(LoopIterationListener iterationListener)
iterationListener - LoopIterationListenervoid triggerEndOfLoop()
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||