public class DslWhileController extends BaseController<DslWhileController>
The condition is evaluated in each iteration before and after all children elements are executed. Keep this in mind in case you use conditions with side effects (like incrementing counters).
JMeter automatically creates a variable named __jm__<controllerName>__idx which contains
the index of the iteration starting with zero.
| Modifier and Type | Class and Description |
|---|---|
static class |
DslWhileController.CodeBuilder |
| Modifier and Type | Field and Description |
|---|---|
protected PropertyScriptBuilder<Boolean> |
conditionBuilder |
childrenguiClass, name| Constructor and Description |
|---|
DslWhileController(String name,
Class<? extends PropertyScriptBuilder.PropertyScript<Boolean>> scriptClass,
List<BaseThreadGroup.ThreadGroupChild> children) |
DslWhileController(String name,
PropertyScriptBuilder.PropertyScript<Boolean> script,
List<BaseThreadGroup.ThreadGroupChild> children) |
DslWhileController(String name,
String condition,
List<BaseThreadGroup.ThreadGroupChild> children) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.jmeter.testelement.TestElement |
buildTestElement() |
childrenbuildTreeUnderbuildConfiguredTestElement, buildTestElementGui, configureTestElement, durationToSeconds, loadBeanProperties, showAndWaitFrameWith, showFrameWith, showInGui, showTestElementGuiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildTreeUnder, showInGuiprotected PropertyScriptBuilder<Boolean> conditionBuilder
public DslWhileController(String name, String condition, List<BaseThreadGroup.ThreadGroupChild> children)
public DslWhileController(String name, PropertyScriptBuilder.PropertyScript<Boolean> script, List<BaseThreadGroup.ThreadGroupChild> children)
public DslWhileController(String name, Class<? extends PropertyScriptBuilder.PropertyScript<Boolean>> scriptClass, List<BaseThreadGroup.ThreadGroupChild> children)
protected org.apache.jmeter.testelement.TestElement buildTestElement()
buildTestElement in class BaseTestElementCopyright © 2024. All rights reserved.