T - is the type of the test element that extends this class (to properly inherit fluent
API methods).public abstract class DslScopedTestElement<T extends DslScopedTestElement<T>> extends BaseTestElement
| Modifier and Type | Class and Description |
|---|---|
static class |
DslScopedTestElement.Scope
Specifies to which samples apply the regular extractor to.
|
protected static class |
DslScopedTestElement.ScopedTestElementCallBuilder<T extends org.apache.jmeter.testelement.TestElement>
Abstracts common logic for
DslScopedTestElement method call
builders. |
| Modifier and Type | Field and Description |
|---|---|
protected DslScopedTestElement.Scope |
scope |
protected String |
scopeVariable |
guiClass, name| Modifier | Constructor and Description |
|---|---|
protected |
DslScopedTestElement(String name,
Class<? extends org.apache.jmeter.gui.JMeterGUIComponent> guiClass) |
| Modifier and Type | Method and Description |
|---|---|
T |
scope(DslScopedTestElement.Scope scope)
Allows specifying if the element should be applied to main sample and/or sub samples.
|
T |
scopeVariable(String scopeVariable)
Allows specifying that the element should be applied to the contents of a given JMeter
variable.
|
protected void |
setScopeTo(org.apache.jmeter.testelement.AbstractScopedTestElement testElement) |
buildConfiguredTestElement, buildTestElement, buildTestElementGui, buildTreeUnder, configureTestElement, durationToSeconds, loadBeanProperties, showAndWaitFrameWith, showFrameWith, showInGui, showTestElementGuiprotected DslScopedTestElement.Scope scope
protected String scopeVariable
public T scope(DslScopedTestElement.Scope scope)
When not specified the element will only apply to main sample.
scope - specifying to what sample result apply the element to.DslScopedTestElement.Scopepublic T scopeVariable(String scopeVariable)
This setting overrides any setting on scope and fieldToCheck.
scopeVariable - specifies the name of the variable to apply the element to.protected void setScopeTo(org.apache.jmeter.testelement.AbstractScopedTestElement testElement)
Copyright © 2024. All rights reserved.