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:
-
TransformStringsIntoFunctionsTestElementPropertyTransformer.USE_FUNCTIONS
-
Constructor Summary
ConstructorsConstructorDescriptionReplaceStringWithFunctions(CompoundVariable masterFunction, Map<String, String> variables) -
Method Summary
Modifier and TypeMethodDescriptionprotected CompoundVariablevoidsetMasterFunction(CompoundVariable variable) voidsetVariables(Map<String, String> map) default JMeterPropertytransform(JMeterProperty input) Deprecated.transformValue(JMeterProperty prop)
-
Constructor Details
-
ReplaceStringWithFunctions
-
-
Method Details
-
transformValue
- Throws:
InvalidVariableException
-
setMasterFunction
-
getMasterFunction
-
getVariables
-
setVariables
-
transform
Deprecated.- Specified by:
transformin interfaceorg.apache.jmeter.engine.util.PropertyTransformer
-