1. Use of P and property in function helper
${__p (init,2)}, ${__property (init,start,200)}
You can define your own variable name, and the default value of the variable
The P variable is named init, and the value is 2, and when used, the direct ${__p (init,2)} is available, and the result of the change amount is 2.
The ${__property (init,start,200)} variable is named init, the default value is 200, and 200 is passed to the start variable by default, and start can be reused ${start}
2. Another usage is to add a few fixed variables directly to the Jmeter.properties file
#默认的一些值
Group1.thread = 10
Group2.rampup=1
After setting this up, restart JMeter, and you can use these variables with P/property.
${__p (Group1.thread)}, ${__property (Group1.thread,save,)}
Such variables will go to the jmeter.properties to read the corresponding configuration default values
The difference between P and property is whether the value of the first variable is stored in another variable
The use of p,property in the JMeter function helper