public interface Controller extends TestElement
while (running && (sampler = controller.next()) != null)
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Modifier and Type | Method and Description |
---|---|
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)
|
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, removed, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
Sampler next()
boolean isDone()
void addIterationListener(LoopIterationListener listener)
listener
- The LoopIterationListener
to addvoid initialize()
void removeIterationListener(LoopIterationListener iterationListener)
iterationListener
- LoopIterationListener
void triggerEndOfLoop()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.