Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: [Original edit by JMeterAdmin]

...

No Format
 ${__property(host1)} 

and

No Format
 
 ${__property(host2)} 

Note: Thread Groups are slightly different from other test elements, because their settings have to be determined before the test starts. This means that you cannot use variables defined in a User Parameters form. But the __property() function works in Thread Groups, and you can use variables defined on the Test Plan.

...

It can be useful to put default settings into the jmeter property file, so you only need to supply differences on the command line.

No Format
 
 # defaults in jmeter.properties 
 group1.threads=10 
 group1.loops=100 
 group1.rampup=10 

Then just do jmeter -Jgroup1.loops=1000 for example.

...