Bug 65702 - Add field disabled on all component
Summary: Add field disabled on all component
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.4.1
Hardware: All All
: P2 enhancement (vote)
Target Milestone: JMETER_5.5
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-25 03:58 UTC by anasoid
Modified: 2021-11-25 04:14 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anasoid 2021-11-25 03:58:30 UTC
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
Comment 1 anasoid 2021-11-25 04:14:47 UTC
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
Comment 2 The ASF infrastructure team 2022-09-24 20:38:22 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5595