Class DslForEachController
- java.lang.Object
-
- us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
-
- us.abstracta.jmeter.javadsl.core.testelements.TestElementContainer<T,BaseThreadGroup.ThreadGroupChild>
-
- us.abstracta.jmeter.javadsl.core.controllers.BaseController<DslForEachController>
-
- us.abstracta.jmeter.javadsl.core.controllers.DslForEachController
-
- All Implemented Interfaces:
DslController,DslTestElement,BaseThreadGroup.ThreadGroupChild
public class DslForEachController extends BaseController<DslForEachController>
Iterates over variables with a given prefix and runs part of a test plan for each of the variables.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>__idxwhich contains the index of the iteration starting with zero.- Since:
- 0.44
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDslForEachController.CodeBuilder
-
Field Summary
Fields Modifier and Type Field Description protected StringiterationVarNameprotected StringvarsPrefix-
Fields inherited from class us.abstracta.jmeter.javadsl.core.testelements.TestElementContainer
children
-
Fields inherited from class us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
guiClass, name
-
-
Constructor Summary
Constructors Constructor Description DslForEachController(String name, String varsPrefix, String iterationVarName, List<BaseThreadGroup.ThreadGroupChild> children)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.jmeter.testelement.TestElementbuildTestElement()-
Methods inherited from class us.abstracta.jmeter.javadsl.core.controllers.BaseController
children
-
Methods inherited from class us.abstracta.jmeter.javadsl.core.testelements.TestElementContainer
buildTreeUnder
-
Methods inherited from class us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
buildConfiguredTestElement, buildTestElementGui, configureTestElement, durationToSeconds, loadBeanProperties, showAndWaitFrameWith, showFrameWith, showInGui, showTestElementGui
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface us.abstracta.jmeter.javadsl.core.DslTestElement
buildTreeUnder, showInGui
-
-
-
-
Constructor Detail
-
DslForEachController
public DslForEachController(String name, String varsPrefix, String iterationVarName, List<BaseThreadGroup.ThreadGroupChild> children)
-
-
Method Detail
-
buildTestElement
protected org.apache.jmeter.testelement.TestElement buildTestElement()
- Specified by:
buildTestElementin classBaseTestElement
-
-