Class ReplaceStringWithFunctions
java.lang.Object
org.apache.jmeter.engine.util.ReplaceStringWithFunctions
Replaces a String containing functions with their Function properties equivalent, example:
${__time()}_${__threadNum()}_${__machineName()} will become a FunctionProperty of
a CompoundVariable containing 3 functions
-
Constructor Summary
ConstructorsConstructorDescriptionReplaceStringWithFunctions(CompoundVariable masterFunction, Map<String, String> variables) -
Method Summary
Modifier and TypeMethodDescriptionprotected CompoundVariablevoidsetMasterFunction(CompoundVariable variable) voidsetVariables(Map<String, String> map) transformValue(JMeterProperty prop)
-
Constructor Details
-
ReplaceStringWithFunctions
-
-
Method Details
-
transformValue
- Throws:
InvalidVariableException
-
setMasterFunction
-
getMasterFunction
-
getVariables
-
setVariables
-