Jmeter_24 commonly used functions
-
JMeter provides a lot of functions, if you can use them proficiently, you can bring a lot of convenience to the script.
-
The JMeter function is a special value that can be used for any component except the test plan.
-
The format of the function call is as follows:
${__functionName(var1,var2,var3)}
where __functionName is the function name, and the function parameters are in parentheses. When there are no parameters, the parentheses can be omitted, such as ${__UUID}
-
Tips:
If the parameter contains a comma, you must use "\" to escape, otherwise JMeter will treat it as a parameter separator -
In actual use, you can select a function through the function assistant dialog box, and after setting the parameters, click the Generate button to generate a function string.
1. __BeanShell: beanshell function