1. Property is a function that jmeter reads its own attributes. There are three parameters: attribute name, function name, and default value. His simplified version is the P function, which has only two parameters: attribute name and default value.
2. Use this function to set the thread.
1) EDIT jmeter's property first: Add # defaults in jmeter. properties group1.threads = 10 group1.loops = 100 group1.rampup = 10
Note: group1 is the name of the thread group.
2) added result: If you are at nmuber of threads :$ {_ property (group1.threads)} ramp-up period :$ {_ property (group1.rampup)} loop count: $ {_ property (group1.loop)}. During running, jmeter reads its property file (under the bin directory) and creates 10 threads, each of which loops 100 times, the total interval is 10 s.
3) If you do not want to run jmeter according to the default settings, You can execute jmeter-jgroup1.loops = 1000 in the command line before starting jmeter. jmeter runs 1000 times in a loop.
This is suitable for complex test scripts that set multiple thread groups. With one command, you can change the settings between multiple thread groups. Is andProgramSetting variables in.