There is many case when we need to disabled/enable component based on variable or function. 1- Disable listener 2- Disable post processor (when extracting value from home page, there is no need to consume CPU with each iteration to get the same value ) 3- Disable debug sampler. 4- disable thread group used for testing script. Like this and using property file we can adapt depend on the execution context. I imagine disabled field will be on the same line after name, if the evaluated value of this field is "false" (ignore case) the component will be disabled
related to : "If controller" inside sampler : https://bz.apache.org/bugzilla/show_bug.cgi?id=62902 Option to disable backend listener : https://bz.apache.org/bugzilla/show_bug.cgi?id=64833
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5595