Package org.apache.jmeter.control
Class LoopControllerSchema
-
- All Implemented Interfaces:
@API(status = API.Status.EXPERIMENTAL, since = "5.6") public abstract class LoopControllerSchema extends GenericControllerSchema
Lists properties of a LoopController.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
LoopControllerSchema.INSTANCE
-
Field Summary
Fields Modifier and Type Field Description private final IntegerPropertyDescriptor<LoopControllerSchema>
loops
private final BooleanPropertyDescriptor<LoopControllerSchema>
continueForever
private final StringPropertyDescriptor<TestElementSchema>
name
private final StringPropertyDescriptor<TestElementSchema>
comments
private final ClassPropertyDescriptor<TestElementSchema, JMeterGUIComponent>
guiClass
private final ClassPropertyDescriptor<TestElementSchema, Object>
testClass
private final BooleanPropertyDescriptor<TestElementSchema>
enabled
private final Map<String, PropertyDescriptor<?, ?>>
properties
private final Map<String, BasePropertyGroupSchema<?>>
groups
public final static LoopControllerSchema.INSTANCE
INSTANCE
-
Constructor Summary
Constructors Constructor Description LoopControllerSchema()
-
Method Summary
Modifier and Type Method Description final IntegerPropertyDescriptor<LoopControllerSchema>
getLoops()
final BooleanPropertyDescriptor<LoopControllerSchema>
getContinueForever()
In spite of the name, this is actually used to determine if the loop controller is repeatable. -
Methods inherited from class org.apache.jmeter.testelement.TestElementSchema
getComments, getEnabled, getGuiClass, getName, getTestClass
-
Methods inherited from class org.apache.jmeter.testelement.schema.BaseTestElementSchema
getGroupPath, getGroups, getProperties, getSubgroup, getValue, invoke, provideDelegate, provideDelegate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getLoops
final IntegerPropertyDescriptor<LoopControllerSchema> getLoops()
-
getContinueForever
final BooleanPropertyDescriptor<LoopControllerSchema> getContinueForever()
In spite of the name, this is actually used to determine if the loop controller is repeatable.
The value is only used in nextIsNull() when the loop end condition has been detected: If forever==true, then it calls resetLoopCount(), otherwise it calls setDone(true).
Loop Controllers always set forever=true, so that they will be executed next time the parent invokes them.
Thread Group sets the value false, so nextIsNull() sets done, and the Thread Group will not be repeated. However, it's not clear that a Thread Group could ever be repeated.
-
-
-
-