org.apache.jmeter.control
Interface Controller
- Cloneable, TestElement
- ForeachController, GenericController, IfController, IncludeController, InterleaveControl, LoopController, ModuleController, OnceOnlyController, ProxyControl, RandomController, RandomOrderController, RecordingController, RunTime, SwitchController, ThreadGroup, ThroughputController, TransactionController, WhileController
public interface Controller
This interface is used by JMeterThread in the following manner:
while (running && (sampler = controller.next()) != null)
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
|
addTestElement , canRemove , clear , clone , getComment , getName , getProperty , getPropertyAsBoolean , getPropertyAsBoolean , getPropertyAsDouble , getPropertyAsFloat , getPropertyAsInt , getPropertyAsInt , 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 |
addIterationListener
public void addIterationListener(LoopIterationListener listener)
Controllers have to notify listeners of when they begin an iteration
through their sub-elements.
initialize
public void initialize()
Called to initialize a controller at the beginning of a test iteration.
isDone
public boolean isDone()
Indicates whether the Controller is done delivering Samplers for the rest
of the test.
When the top-level controller returns true to JMeterThread,
the thread is complete.
next
public Sampler next()
Delivers the next Sampler or null
- org.apache.jmeter.samplers.Sampler or null
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.