I am trying to run only specific threads of Jmeter at a time from command line.
I added an if controller in my test plan and in the condition block i wrote ${__P(threadActive)} == true
so that i can give the value of "threadActive" from the command line.
I did the same for other thread group and gave the condition ${__P(group)} == true
.
Now when I run want to run only one thread group I writeJMeter -n -t "TestPlanName.jmx" -JthreadActive=true" or "JMeter -n -t "TestPlanName.jmx" -Jgroup=true
to run only one thread it starts executing both of the threads. Where as when I change the conditions value in the condition block to false and write JMeter -n -t "TsetPlanName.jmx" -JthreadActive=false
it executes that thread.
Obviously this means the default value of these variables are true, so how do i change the default value of these user variables?