| Modifier and Type | Method and Description |
|---|---|
static DslIfController |
JmeterDsl.ifController(PropertyScriptBuilder.PropertyScript<Boolean> condition,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#ifController(String, ThreadGroupChild...) but allowing to use Java type safety
and code completion when specifying the condition. |
static DslWhileController |
JmeterDsl.whileController(PropertyScriptBuilder.PropertyScript<Boolean> 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 name,
PropertyScriptBuilder.PropertyScript<Boolean> 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. |
| Modifier and Type | Method and Description |
|---|---|
static DslHttpSampler |
JmeterDsl.httpSampler(Class<? extends PropertyScriptBuilder.PropertyScript<String>> urlSolverClass)
Same as
JmeterDsl.httpSampler(Function) but with support for running at scale in a remote
engine. |
static DslHttpSampler |
JmeterDsl.httpSampler(String name,
Class<? extends PropertyScriptBuilder.PropertyScript<String>> urlSolverClass)
Same as
JmeterDsl.httpSampler(Class) but allowing to set a name to the HTTP Request sampler. |
static DslIfController |
JmeterDsl.ifController(Class<? extends PropertyScriptBuilder.PropertyScript<Boolean>> conditionClass,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#ifController(PropertyScript, ThreadGroupChild...) but with support for running
at scale in a remote engine. |
static DslWhileController |
JmeterDsl.whileController(Class<? extends PropertyScriptBuilder.PropertyScript<Boolean>> conditionClass,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#whileController(PropertyScript, ThreadGroupChild...) but with support for
running at scale in a remote engine. |
static DslWhileController |
JmeterDsl.whileController(String name,
Class<? extends PropertyScriptBuilder.PropertyScript<Boolean>> conditionClass,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#whileController(Class, ThreadGroupChild...) but allowing to set a name which
defines autogenerated variable created by JMeter containing iteration index. |
| Constructor and Description |
|---|
DslIfController(PropertyScriptBuilder.PropertyScript<Boolean> script,
List<BaseThreadGroup.ThreadGroupChild> children) |
DslWhileController(String name,
PropertyScriptBuilder.PropertyScript<Boolean> script,
List<BaseThreadGroup.ThreadGroupChild> children) |
| Constructor and Description |
|---|
DslIfController(Class<? extends PropertyScriptBuilder.PropertyScript<Boolean>> conditionClass,
List<BaseThreadGroup.ThreadGroupChild> children) |
DslWhileController(String name,
Class<? extends PropertyScriptBuilder.PropertyScript<Boolean>> scriptClass,
List<BaseThreadGroup.ThreadGroupChild> children) |
| Modifier and Type | Field and Description |
|---|---|
protected PropertyScriptBuilder.PropertyScript<T> |
PropertyScriptBuilder.script |
| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends PropertyScriptBuilder.PropertyScript<T>> |
PropertyScriptBuilder.scriptClass |
| Constructor and Description |
|---|
PropertyScriptBuilder(PropertyScriptBuilder.PropertyScript<T> script) |
| Constructor and Description |
|---|
PropertyScriptBuilder(Class<? extends PropertyScriptBuilder.PropertyScript<T>> scriptClass) |
| Modifier and Type | Method and Description |
|---|---|
HttpHeaders |
HttpHeaders.header(String name,
PropertyScriptBuilder.PropertyScript<String> valueSupplier)
Same as
HttpHeaders.header(String, String) but allows using dynamically calculated HTTP header
value. |
| Modifier and Type | Method and Description |
|---|---|
DslHttpSampler |
DslHttpSampler.body(Class<? extends PropertyScriptBuilder.PropertyScript<String>> bodySolverClass)
Same as
DslHttpSampler.body(Function) but with support for running at scale in a remote engine. |
T |
DslBaseHttpSampler.header(String name,
Class<? extends PropertyScriptBuilder.PropertyScript<String>> valueSupplierClass)
Same as
DslBaseHttpSampler.header(String, Function) but with support for running at scale in a remote
engine. |
HttpHeaders |
HttpHeaders.header(String name,
Class<? extends PropertyScriptBuilder.PropertyScript<String>> valueSupplierClass)
Same as
#header(String, PropertyScript) but with support for running at scale in a
remote engine. |
DslHttpSampler |
DslHttpSampler.post(Class<? extends PropertyScriptBuilder.PropertyScript<String>> bodySolverClass,
org.apache.http.entity.ContentType contentType)
Same as
DslHttpSampler.post(Function, ContentType) but with support for running at scale in a remote
engine. |
| Constructor and Description |
|---|
DslHttpSampler(String name,
Class<? extends PropertyScriptBuilder.PropertyScript<String>> urlSolverClass) |
Copyright © 2024. All rights reserved.