Bug 42784 - Show the number of errors logged in the GUI
Summary: Show the number of errors logged in the GUI
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.2
Hardware: All All
: P2 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Depends on:
Reported: 2007-06-30 02:56 UTC by Alf Hogemark
Modified: 2012-05-18 06:46 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Alf Hogemark 2007-06-30 02:56:03 UTC
Some errors that happen during the execution of a test, only shows up as "ERROR"
lines in the jmeter log file.
So these errors go unattended by a lot of users, I think.

I suggest to add a short text, displaying the number of errors logged in the
jmeter log file, if possible in only the number of errors in the current test

Currently, in the upper right corner, there is a text showing the number of
threads running. This seems to be kind of a "status" line. Perhaps we could add
a text there, stating  : "Number of errors logged : 3, number of threads running
This would make it quite easy to see if anything unexpected has happened in the
test execution.

I am not sure if we should look at the jmeter log file, or if we should set up
our own log listener, which only receives "ERRORS" for all classes. I guess it
would be best to set up our own log listener, because some users might set the
jmeter properties so that nothing is logged.

It would also be nice to have an action or menu item to show the error log,
either the jmeter log file, like the bugzilla 41788 talks about, or just the
errors our own log listener has received.

I think this functionality would be very useful. If someone has better
suggestions on where to display the information, that is fine. But I think it
should always be displayed, so that even novice users will be able to notice it
without having to set something up first.
Comment 1 Sebb 2007-06-30 08:26:29 UTC
Sounds like a good idea, but would need to be carefully implemented to avoid 
causing too much overhead. [The existing counts only need updating for every 
thread event; to maintain an error count could at worst require per-sample 

I'm not convinced that a count is needed, but it would certainly be useful to 
know if any errors had occurred.
Comment 2 Philippe Mouawad 2012-05-17 22:10:20 UTC
Added option to control wether this counter is displayed or not:

I checked performance, it seems OK, but if you find it's not, then we can switch option to false by default.
Comment 3 Philippe Mouawad 2012-05-17 22:10:35 UTC
Date: Thu May 17 22:09:03 2012
New Revision: 1339882

URL: http://svn.apache.org/viewvc?rev=1339882&view=rev
Bug 42784 - Show the number of errors logged in the GUI

   jmeter/trunk/src/core/org/apache/jmeter/images/warning.png   (with props)
Comment 4 Milamber 2012-05-18 06:46:23 UTC
URL: http://svn.apache.org/viewvc?rev=1339996&view=rev
Use a JLabel instead of JButton to display warning icon
Increase space between error indicator and running indicator
Add a tooltip text on warning icon
Add one space before If parenthesis

Comment 5 The ASF infrastructure team 2022-09-24 20:37:39 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1964