Bug 54885 - Add a Status to listeners to allow disabling them automatically in non gui mode
Summary: Add a Status to listeners to allow disabling them automatically in non gui mode
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.9
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-24 12:11 UTC by Lucas Pouzac
Modified: 2013-08-25 13:05 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Pouzac 2013-04-24 12:11:51 UTC
Could you add value for "enabled" attribute which allow disable ResultCollector (and more ?) with non gui mode automaticaly ?

By example : 
 - enabled = true (already enable)
 - enabled = false (already disable)
 - enabled = gui (only gui mode)
Comment 1 Sebb 2013-06-16 14:14:35 UTC
Not sure there's any point.
The GUI part of listeners is disabled anyway in non-GUI mode.

And listeners don't do anything in non-GUI mode if they don't have a file.

What is the purpose of this request?
Comment 2 Philippe Mouawad 2013-08-25 13:05:22 UTC
Looking at how it works, 
sampleOccurred is called for each sampler, even if out is null, so it is a bit of useless processing.
With this change maybe we could remove listener from listeners list if it is only enabled in GUI mode.

So we would gain some useless processing.
Comment 3 The ASF infrastructure team 2022-09-24 20:37:53 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3108