| Modifier and Type | Method and Description |
|---|---|
<V,T extends MethodParam> |
TestElementParamBuilder.buildParam(String propName,
BiFunction<String,V,T> builder,
V defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
MethodParam |
TestElementParamBuilder.boolParam(String propName,
boolean defaultValue)
Gets a MethodParam representing a boolean test element property.
|
<V,T extends MethodParam> |
TestElementParamBuilder.buildParam(String propName,
BiFunction<String,V,T> builder,
V defaultValue) |
MethodParam |
TestElementParamBuilder.doubleParam(String propName)
Generates a MethodParam representing a double test element property.
|
MethodParam |
TestElementParamBuilder.durationParam(String propName)
Same as
TestElementParamBuilder.durationParam(String, Duration) but with no default value. |
MethodParam |
TestElementParamBuilder.durationParam(String propName,
Duration defaultValue)
Gets a MethodParam representing a test element property containing a duration (in seconds).
|
MethodParam |
TestElementParamBuilder.durationParamMillis(String propName,
Duration defaultValue)
Gets a MethodParam representing a test element property containing a duration (in
milliseconds).
|
MethodParam |
TestElementParamBuilder.encodingParam(String propName,
Charset defaultValue)
Gets a MethodParam representing a test element property containing an encoding (Charset).
|
<T extends Enum<?> & EnumParam.EnumPropertyValue> |
TestElementParamBuilder.enumParam(String propName,
T defaultValue)
Gets a MethodParam representing a test element property with a restricted set (enumerated) of
string values.
|
MethodParam |
TestElementParamBuilder.floatParam(String propName)
Generates a MethodParam representing a float test element property.
|
MethodParam |
TestElementParamBuilder.intParam(String propName)
Same as
TestElementParamBuilder.intParam(String, Integer) but with no default value. |
MethodParam |
TestElementParamBuilder.intParam(String propName,
Integer defaultValue)
Generates a MethodParam representing an integer test element property.
|
MethodParam |
TestElementParamBuilder.longParam(String propName)
Same as
TestElementParamBuilder.longParam(String, Long) but with no default value. |
MethodParam |
TestElementParamBuilder.longParam(String propName,
Long defaultValue)
Generates a MethodParam representing a long test element property.
|
MethodParam |
TestElementParamBuilder.stringParam(String propName)
Same as
TestElementParamBuilder.stringParam(String, String) but with no default value. |
MethodParam |
TestElementParamBuilder.stringParam(String propName,
String defaultValue)
Gets a MethodParam for a string test element property.
|
| Modifier and Type | Method and Description |
|---|---|
protected MethodCall |
MethodCallBuilder.buildMethodCall(MethodParam... params)
Builds a method call for the given set of parameters using one of registered builder methods.
|
protected static UnsupportedOperationException |
MethodCall.buildNoMatchingMethodFoundException(String methodCondition,
MethodParam[] params) |
MethodCall |
MethodCall.chain(String methodName,
MethodParam... params)
Allows chaining a method call to this call.
|
protected static Method |
MethodCall.findParamsMatchingMethod(Stream<Method> methods,
MethodParam[] params) |
static MethodCall |
MethodCall.forStaticMethod(Class<?> methodClass,
String methodName,
MethodParam... params)
Generates a new instance for a static method within a given class that is applicable to a given
set of parameters.
|
static MethodCall |
MethodCall.fromBuilderMethod(Method method,
MethodParam... params) |
| Constructor and Description |
|---|
MethodCall(String methodName,
Class<?> returnType,
MethodParam... params) |
| Modifier and Type | Class and Description |
|---|---|
class |
BoolParam
Is a parameter with a boolean (true/false) value.
|
class |
ChildrenParam<T>
Is a parameter used to specify DSL test element children methods.
|
class |
DoubleParam
Is a parameter with a double value.
|
class |
DurationParam
Is a parameter with a Duration value.
|
class |
DynamicParam
Is a parameter with no fixed value (ie: a variable or jmeter function reference).
|
class |
EncodingParam
Is a parameter with an encoding (Charset) value.
|
class |
EnumParam<T extends Enum<?> & EnumParam.EnumPropertyValue>
Is a parameter with an enum value.
|
class |
FixedParam<T>
Is a parameter with a fixed value.
|
class |
FloatParam
Is a parameter with a float value.
|
class |
IntParam
Is a parameter with an integer value.
|
class |
LongParam
Is a parameter with a long value.
|
class |
NameParam
Is a parameter associated to a test element name.
|
class |
StringArrayParam |
class |
StringParam
Is a parameter with a string value.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
DslResponseAssertion.CodeBuilder.StringsCollectionParam |
| Modifier and Type | Method and Description |
|---|---|
protected MethodParam |
DslBackendListener.BackendListenerCodeBuilder.buildArgParam(String argName,
Map<String,String> args,
Map<String,String> defaultArgs) |
| Modifier and Type | Class and Description |
|---|---|
static class |
DslJsonExtractor.CodeBuilder.JsonPathQueryLanguageParam |
| Modifier and Type | Class and Description |
|---|---|
class |
ContentTypeParam |
| Modifier and Type | Method and Description |
|---|---|
static MethodParam |
HttpElementHelper.buildUrlParam(MethodParam protocol,
MethodParam domain,
MethodParam port,
MethodParam path) |
static MethodParam |
DslBaseHttpSampler.BaseHttpSamplerCodeBuilder.buildUrlParam(MethodParam protocol,
MethodParam domain,
MethodParam port,
MethodParam path) |
| Modifier and Type | Method and Description |
|---|---|
protected MethodCall |
DslHttpSampler.CodeBuilder.buildBaseHttpMethodCall(MethodParam name,
MethodParam url,
TestElementParamBuilder paramBuilder) |
protected abstract MethodCall |
DslBaseHttpSampler.BaseHttpSamplerCodeBuilder.buildBaseHttpMethodCall(MethodParam name,
MethodParam url,
TestElementParamBuilder paramBuilder) |
static MethodParam |
HttpElementHelper.buildUrlParam(MethodParam protocol,
MethodParam domain,
MethodParam port,
MethodParam path) |
static MethodParam |
DslBaseHttpSampler.BaseHttpSamplerCodeBuilder.buildUrlParam(MethodParam protocol,
MethodParam domain,
MethodParam port,
MethodParam path) |
Copyright © 2024. All rights reserved.