Package org.apache.jmeter.engine.util
Class ReplaceStringWithFunctions
java.lang.Object
org.apache.jmeter.engine.util.ReplaceStringWithFunctions
- All Implemented Interfaces:
org.apache.jmeter.engine.util.PropertyTransformer
Replaces a String containing functions with their Function properties equivalent, example:
${__time()}_${__threadNum()}_${__machineName()} will become a FunctionProperty of
a CompoundVariable containing 3 functions
- See Also:
-
TransformStringsIntoFunctions
TestElementPropertyTransformer.USE_FUNCTIONS
-
Constructor Summary
ConstructorDescriptionReplaceStringWithFunctions
(CompoundVariable masterFunction, Map<String, String> variables) -
Method Summary
Modifier and TypeMethodDescriptionprotected CompoundVariable
void
setMasterFunction
(CompoundVariable variable) void
setVariables
(Map<String, String> map) default JMeterProperty
transform
(JMeterProperty input) Deprecated.transformValue
(JMeterProperty prop)
-
Constructor Details
-
ReplaceStringWithFunctions
-
-
Method Details
-
transformValue
- Throws:
InvalidVariableException
-
setMasterFunction
-
getMasterFunction
-
getVariables
-
setVariables
-
transform
Deprecated.- Specified by:
transform
in interfaceorg.apache.jmeter.engine.util.PropertyTransformer
-