public class DslForEachController extends BaseController<DslForEachController>
This is usually used in combination with extractors that return more than one variable (like regex extractor with -1 index), to iterate over generated variables.
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 |
DslForEachController.CodeBuilder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
iterationVarName |
protected String |
varsPrefix |
childrenguiClass, name| Constructor and Description |
|---|
DslForEachController(String name,
String varsPrefix,
String iterationVarName,
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 String varsPrefix
protected String iterationVarName
public DslForEachController(String name, String varsPrefix, String iterationVarName, List<BaseThreadGroup.ThreadGroupChild> children)
protected org.apache.jmeter.testelement.TestElement buildTestElement()
buildTestElement in class BaseTestElementCopyright © 2023. All rights reserved.