You can go for the  If Controller
<https://www.blazemeter.com/blog/six-tips-for-jmeter-if-controller-usage/>  
and use the following  __jexl3() function
<https://jmeter.apache.org/usermanual/functions.html#__jexl3>   as the
condition like:


> ${__jexl3("${__machineIP()}" == "10.20.30.40",)}

This way If Controller's children will be executed only at the slave machine
having IP address "10.20.30.40". 

If your test assumes multiple threads (virtual users) and iterations on 
Thread Group
<https://jmeter.apache.org/usermanual/component_reference.html#Thread_Group>  
level you can add more clauses to the If Controller like:


> ${__jexl3("${__machineIP()}" == "10.20.30.40" && "${__threadNum}" == 1 &&
> "${__jm__Thread Group__idx}" == "0",)}





--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to