Waseem,

    I think you can try this way:

    1. declare a test plan variable that can be assigned remotely and a
default value. Like this:  ${__P(myvariable,0)}
    2. add an If Controller in every thread group and define a distinct
conditional value to each one. Like this: (${myvariable} == 0) ||
(${myvariable} == 1)
        this way, you can run every thread group, run more than one or only
one. Think myvariable value as a grouping number.
    3. start test using the -Gmyvariable=value, if you are running a
distributed test, or -Jmyvariable=value, if is a local test.

    There are many to do what you want, but this is the one I realized at
first.

Obs.: If you run this test on GUI, remember to change default value to your
desired value.

Hope this helps you.
Flávio Cysne

2011/12/23 waseemfa <[email protected]>

> Hi,
>
> I want to create a test plan with multiple thread groups running in it
> sequentially.  Can i have multiple thread groups and specify from a config
> file which thread group to run and which ones to ignore.
>
> Thanks in advance,
> Waseem
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Test-through-a-config-file-tp5096775p5096775.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to