Reputation: 87
Is it anyway I can have an if controller above a thread group, like:
TestPlan -> If controller ----> Thread Group
I.e I just want to execute the if controller once so I can avoid unnecessary execution in the Thread Group?
Upvotes: 2
Views: 857
Reputation: 168197
There are following options:
0
, it can be done using __if()
function (member of JMeter Custom Functions plugin bundle, can be installed using JMeter Plugins Manager)Upvotes: 1
Reputation: 58882
You can add to Thread group in Number of Threads
field get value from property, as:
${__P(GroupANumberOfThreads,0)}
So if you don't have property, for example don't send -JGroupANumberOfThreads=1
in CLI mode Thread group won't get executed
Upvotes: 2