| Modifier and Type | Method and Description |
|---|---|
static DslForEachController |
JmeterDsl.forEachController(String varsPrefix,
String iterationVarName,
BaseThreadGroup.ThreadGroupChild... children)
Builds a For each controller that iterates over a set of variables and runs a given set of
children for each variable in the set.
|
static DslForEachController |
JmeterDsl.forEachController(String name,
String varsPrefix,
String iterationVarName,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#forEachController(String, String, ThreadGroupChild...) but allowing to set a
name which defines autogenerated variable created by JMeter containing iteration index. |
static ForLoopController |
JmeterDsl.forLoopController(int count,
BaseThreadGroup.ThreadGroupChild... children)
Builds a Loop Controller that allows to run specific number of times the given children in each
thread group iteration.
|
static ForLoopController |
JmeterDsl.forLoopController(String count,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#forLoopController(int, ThreadGroupChild...) but allowing to use JMeter
expressions for number of loops |
static ForLoopController |
JmeterDsl.forLoopController(String name,
int count,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#forLoopController(int, ThreadGroupChild...) but allowing to set a name which
defines autogenerated variable created by JMeter containing iteration index. |
static ForLoopController |
JmeterDsl.forLoopController(String name,
String count,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#forLoopController(String, ThreadGroupChild...) but allowing to set a name
which defines autogenerated variable created by JMeter containing iteration index. |
static DslIfController |
JmeterDsl.ifController(PropertyScriptBuilder.PropertyScript condition,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#ifController(String, ThreadGroupChild...) but allowing to use Java type safety
and code completion when specifying the condition. |
static DslIfController |
JmeterDsl.ifController(String condition,
BaseThreadGroup.ThreadGroupChild... children)
Builds an If Controller that allows to conditionally run specified children.
|
static DslOnceOnlyController |
JmeterDsl.onceOnlyController(BaseThreadGroup.ThreadGroupChild... children)
Builds a Once Only Controller that allows running a part of a test plan only once and only on
the first iteration of each thread group.
|
static PercentController |
JmeterDsl.percentController(float percent,
BaseThreadGroup.ThreadGroupChild... children)
Builds a Percent Controller to execute children only a given percent of times.
|
static PercentController |
JmeterDsl.percentController(String percent,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#percentController(float, ThreadGroupChild...) but allowing using JMeter
expressions (eg: ${PERCENT_VAR}) in percent parameter. |
static DslRuntimeController |
JmeterDsl.runtimeController(Duration duration,
BaseThreadGroup.ThreadGroupChild... children)
Builds a Runtime Controller that stops executing child elements when a period of time expires.
|
static DslRuntimeController |
JmeterDsl.runtimeController(String seconds,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#runtimeController(Duration, ThreadGroupChild...) but allowing to use JMeter
expressions for the duration. |
static DslSetupThreadGroup |
JmeterDsl.setupThreadGroup(BaseThreadGroup.ThreadGroupChild... children)
Builds a thread group that allows running logic before other thread groups.
|
static DslSetupThreadGroup |
JmeterDsl.setupThreadGroup(String name,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#setupThreadGroup(ThreadGroupChild...) but allowing to set a name on the thread
group. |
static DslTeardownThreadGroup |
JmeterDsl.teardownThreadGroup(BaseThreadGroup.ThreadGroupChild... children)
Builds a thread group that allows running logic after other thread groups.
|
static DslTeardownThreadGroup |
JmeterDsl.teardownThreadGroup(String name,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#teardownThreadGroup(ThreadGroupChild...) but allowing to set a name on the
thread group. |
static DslDefaultThreadGroup |
JmeterDsl.threadGroup(int threads,
Duration duration,
BaseThreadGroup.ThreadGroupChild... children)
Builds a new thread group with a given number of threads & their duration.
|
static DslDefaultThreadGroup |
JmeterDsl.threadGroup(int threads,
int iterations,
BaseThreadGroup.ThreadGroupChild... children)
Builds a new thread group with a given number of threads & iterations.
|
static DslDefaultThreadGroup |
JmeterDsl.threadGroup(String name,
int threads,
Duration duration,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#threadGroup(int, Duration, ThreadGroupChild...) but allowing to set a name on
the thread group. |
static DslDefaultThreadGroup |
JmeterDsl.threadGroup(String name,
int threads,
int iterations,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#threadGroup(int, int, ThreadGroupChild...) but allowing to set a name on the
thread group. |
static DslTransactionController |
JmeterDsl.transaction(String name,
BaseThreadGroup.ThreadGroupChild... children)
Builds a new transaction controller with the given name.
|
static DslWhileController |
JmeterDsl.whileController(PropertyScriptBuilder.PropertyScript condition,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#whileController(String, ThreadGroupChild...) but allowing to use Java type
safety and code completion when specifying the condition. |
static DslWhileController |
JmeterDsl.whileController(String condition,
BaseThreadGroup.ThreadGroupChild... children)
Builds a While Controller that allows to run specific part of the test plan while a given
condition is met in one thread iteration.
|
static DslWhileController |
JmeterDsl.whileController(String name,
PropertyScriptBuilder.PropertyScript condition,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#whileController(PropertyScript, ThreadGroupChild...) but allowing to set a
name which defines autogenerated variable created by JMeter containing iteration index. |
static DslWhileController |
JmeterDsl.whileController(String name,
String condition,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#whileController(String, ThreadGroupChild...) but allowing to set a name which
defines autogenerated variable created by JMeter containing iteration index. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DslAssertion |
| Modifier and Type | Class and Description |
|---|---|
class |
DslResponseAssertion
Allows marking a request result as success or failure by a specific result field value.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DslConfig |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseConfigElement
Contains common logic for config elements defined by the DSL.
|
class |
DslCsvDataSet
Allows using a CSV file as input data for JMeter variables to use in test plan.
|
class |
DslVariables
Allows setting JMeter thread variables that can be used later on in JMeter expressions or JSR223
scripts.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DslController |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseController<T extends BaseController<T>>
Contains common logic for logic controllers defined by the DSL.
|
class |
DslForEachController
Iterates over variables with a given prefix and runs part of a test plan for each of the
variables.
|
class |
DslIfController
Allows to conditionally run part of a test plan according to certain condition.
|
class |
DslOnceOnlyController
Allows running a part of a test plan only once and only on the first iteration of each thread
group.
|
class |
DslRecordingController
This element is only provided to ignore recording controllers when generating DSL code from JMX.
|
class |
DslRuntimeController
Is a controller that stops executing child elements when a period of time expires.
|
class |
DslTestFragmentController |
class |
DslTransactionController
Allows specifying JMeter transaction controllers which group different samples associated to same
transaction.
|
class |
DslWeightedSwitchController
Selects a child in each iteration according to specified relative weights.
|
class |
DslWhileController
Allows running part of a test plan until a condition is met.
|
class |
ForLoopController
Allows running part of a test plan a given number of times inside one thread group iteration.
|
class |
PercentController
Allows running only given percent of times given test plan elements.
|
| Modifier and Type | Method and Description |
|---|---|
T |
BaseController.children(BaseThreadGroup.ThreadGroupChild... children)
Allows specifying children elements that are affected by this controller.
|
DslWeightedSwitchController |
DslWeightedSwitchController.children(BaseThreadGroup.ThreadGroupChild... children)
Allows specifying children test elements which don't have an explicit weight associated.
|
static DslTestFragmentController |
DslTestFragmentController.fragment(BaseThreadGroup.ThreadGroupChild... children) |
static DslTestFragmentController |
DslTestFragmentController.fragment(String name,
BaseThreadGroup.ThreadGroupChild... children) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DslListener |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseListener |
class |
DslBackendListener<T extends DslBackendListener<T>>
Contains common logic used by test elements that use the backend listener.
|
class |
DslViewResultsTree
Shows a popup window including live results tree using JMeter built-in View Results Tree
element.
|
class |
DslVisualizer
Provides general logic for listeners which show some live information in Swing window.
|
class |
HtmlReporter
Generates a nice HTML report at the end of test plan execution.
|
class |
InfluxDbBackendListener
Test element which publishes all test run metrics to an InfluxDB instance.
|
class |
JtlWriter
Allows to generate a result log file (JTL) with data for each sample for a test plan, thread
group or sampler, depending on what level of test plan is added.
|
class |
ResponseFileSaver
Generates one file for each response of a sample/request.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DslPostProcessor |
| Modifier and Type | Class and Description |
|---|---|
class |
DslBoundaryExtractor
Provides simple means for extracting into a variable a part of a request or response using just
left and right boundaries surrounding the desired text.
|
class |
DslDebugPostProcessor
Adds a sub result to a given sampler result, including jmeter variables, jmeter properties, etc.,
which are handy when debugging test plans.
|
class |
DslJsonExtractor
Allows extracting part of a JSON response using JMESPath to store into a variable.
|
class |
DslJsr223PostProcessor
Allows running custom logic after getting a sample result.
|
class |
DslRegexExtractor
Allows extracting part of a request or response using regular expressions to store into a
variable.
|
class |
DslVariableExtractor<T extends DslVariableExtractor<T>>
Contains common logic for post processors which extract some value into a variable.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DslPreProcessor |
| Modifier and Type | Class and Description |
|---|---|
class |
DslJsr223PreProcessor
Allows running custom logic before executing a sampler.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DslSampler |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseSampler<T extends BaseSampler<T>>
Hosts common logic to all samplers.
|
class |
DslDummySampler
Allows using JMeter Dummy Sampler plugin to emulate other samples and ease testing post
processors and other parts of a test plan.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MultiLevelTestElement
This is just a simple interface to avoid code duplication for test elements that apply at
different levels of a test plan (at test plan, thread group or as sampler child).
|
| Modifier and Type | Method and Description |
|---|---|
T |
BaseThreadGroup.children(BaseThreadGroup.ThreadGroupChild... children)
Allows specifying thread group children elements (samplers, listeners, post processors, etc.).
|
DslDefaultThreadGroup |
DslDefaultThreadGroup.children(BaseThreadGroup.ThreadGroupChild... children)
Allows specifying thread group children elements (samplers, listeners, post processors, etc.).
|
T |
DslSimpleThreadGroup.children(BaseThreadGroup.ThreadGroupChild... children)
Allows specifying thread group children elements (samplers, listeners, post processors, etc.).
|
| Constructor and Description |
|---|
BaseThreadGroup(String name,
Class<? extends org.apache.jmeter.gui.JMeterGUIComponent> guiClass,
List<BaseThreadGroup.ThreadGroupChild> children) |
DslDefaultThreadGroup(String name,
int threads,
Duration duration,
List<BaseThreadGroup.ThreadGroupChild> children) |
DslDefaultThreadGroup(String name,
int threads,
int iterations,
List<BaseThreadGroup.ThreadGroupChild> children) |
DslSetupThreadGroup(String name,
List<BaseThreadGroup.ThreadGroupChild> children) |
DslSimpleThreadGroup(String name,
Class<? extends org.apache.jmeter.gui.JMeterGUIComponent> guiClass,
List<BaseThreadGroup.ThreadGroupChild> children) |
DslTeardownThreadGroup(String name,
List<BaseThreadGroup.ThreadGroupChild> children) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DslTimer |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseTimer
Contains common logic for all timers.
|
class |
DslConstantTimer
Allows using JMeter Constant Timers which pause the thread for a given period.
|
class |
DslThroughputTimer
Allows using JMeter Constant Throughput Timers which pauses samplers under its control to limit
the maximum number of samples per minute.
|
class |
DslUniformRandomTimer
Allows specifying JMeter Uniform Random Timers which pause the thread with a random time with
uniform distribution.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AutoEnabledHttpConfigElement |
class |
DslAuthManager
Allows specifying HTTP authentication to be automatically included in HTTP requests.
|
class |
DslBaseHttpSampler<T extends DslBaseHttpSampler<T>>
Abstracts common logic used by HTTP based samplers.
|
class |
DslCacheManager
Allows configuring caching behavior used by HTTP samplers.
|
class |
DslCookieManager
Allows configuring cookies settings used by HTTP samplers.
|
class |
DslHttpDefaults
Allows configuring default values for common properties of HTTP samplers.
|
class |
DslHttpSampler
Allows to configure a JMeter HTTP sampler to make HTTP requests in a test plan.
|
class |
HttpHeaders
Allows specifying HTTP headers (through an underlying JMeter HttpHeaderManager) to be used by
HTTP samplers.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DslJsr223Sampler
Allows sampling java APIs and custom logic.
|
Copyright © 2023. All rights reserved.