On 01/05/2009, viet nguyen <[email protected]> wrote: > > my plan is as follows > > ThreadGroup1 (loop 2000 times) > --java request > --constant timer > > ThreadGroup2 (loop 1000 times) > --java request > --constant timer > > How do I use properties to enable/disable a particular thread group? or is > there other mechanism to do so without creating 2 different jmx files or the > obvious right-click enable/disable?
Not possible. There's no way to override check-boxes. > Another word I want to run the load > test with varying configuration from the command line > > jmeter -nt loadtest.jmx -q lite.properties (run thread group A only) > > or > > jmeter -nt loadtest.jmx -q full.properties (run a full blown 2 thread > groups) But you can define the number of threads and number of loops as property references and then define the values on the command-line Or you could add an If Controller to the second thread group with a Test Action child to stop the thread. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

