Bug 58165 - Show the time elapsed since the start of the load test in GUI mode
Summary: Show the time elapsed since the start of the load test in GUI mode
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.13
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-21 14:03 UTC by maxime.chassagneux
Modified: 2016-03-24 08:04 UTC (History)
1 user (show)



Attachments
Display the time of the loadtest (22.57 KB, patch)
2015-07-21 14:03 UTC, maxime.chassagneux
Details | Diff
New patch, I forget one file (23.22 KB, patch)
2015-07-21 14:25 UTC, maxime.chassagneux
Details | Diff
Screen Capture (23.77 KB, image/png)
2015-07-23 08:51 UTC, maxime.chassagneux
Details
Again a new version of the patch ; No more Huge different line (3.04 KB, patch)
2015-07-23 08:53 UTC, maxime.chassagneux
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description maxime.chassagneux 2015-07-21 14:03:18 UTC
Created attachment 32923 [details]
Display the time of the loadtest

I add on the GUI panel an information about the time elapse from the start of the loadtest. I think this information is important. 

This hack is durty but it work....
Comment 1 maxime.chassagneux 2015-07-21 14:25:50 UTC
Created attachment 32925 [details]
New patch, I forget one file
Comment 2 UbikLoadPack support 2015-07-22 13:50:49 UTC
Hi,
Could you show a screenshot of the result ?
Also could you ensure you use last version of JMeter and create your patch on it, because for now there is a huge number of differing lines (MainFrame) and we cannot see precisely what you added/modified.

Thanks
Comment 3 maxime.chassagneux 2015-07-23 08:51:12 UTC
Created attachment 32929 [details]
Screen Capture
Comment 4 maxime.chassagneux 2015-07-23 08:53:10 UTC
Created attachment 32930 [details]
Again a new version of the patch ; No more Huge different line
Comment 5 maxime.chassagneux 2015-07-23 08:54:37 UTC
(In reply to UbikLoadPack support from comment #2)
> Hi,
> Could you show a screenshot of the result ?
> Also could you ensure you use last version of JMeter and create your patch
> on it, because for now there is a huge number of differing lines (MainFrame)
> and we cannot see precisely what you added/modified.
> 
> Thanks

Yes I use the latest version of JMeter, I made a new patch that fix the problem with too much differents lines
Comment 6 Philippe Mouawad 2015-12-20 20:44:02 UTC
@Dev Team,
Do you think we should use this ?

Regards
Comment 7 Rainer Jung 2015-12-21 08:53:50 UTC
Personally I haven't missed it but I do like the screenshot and I can see how it would be useful to users.

One doesn't want to move to much info that would be better part of a listener into the main GUI but the elapsed test time similar to the already existing thread count is IMHO of overview type so does warrant some space in the main GUI.

The only other overview numbers that one could consider and which are currently not in the main GUI would be total sample count and total error count. One could also think about the number of successful/errnoneous finished thread iterations, but that would get problematic if one uses multiple thread groups, because then those two numbers are hard to interprete. But that's another topic.

So a +1 from me to adding the elapsed time. I haven't checked the code though.
Comment 8 Philippe Mouawad 2015-12-30 14:59:44 UTC
Author: pmouawad
Date: Wed Dec 30 14:59:04 2015
New Revision: 1722346

URL: http://svn.apache.org/viewvc?rev=1722346&view=rev
Log:
Bug 58165 - Show the time elapsed since the start of the load test in GUI mode
Bugzilla Id: 58165

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/MainFrame.java
    jmeter/trunk/src/core/org/apache/jmeter/reporters/Summariser.java
    jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java
    jmeter/trunk/xdocs/changes.xml
Comment 9 Philippe Mouawad 2015-12-30 15:00:15 UTC
Thanks for contribution, used part of the code and reworked the rest.
Please test and give your feedback.
Comment 10 Philippe Mouawad 2016-03-24 08:04:43 UTC
Author: pmouawad
Date: Thu Mar 24 08:04:14 2016
New Revision: 1736402

URL: http://svn.apache.org/viewvc?rev=1736402&view=rev
Log:
Bug 58165 Show the time elapsed since the start of the load test in GUI mode.
Add a tooltip
Add a border
Bugzilla Id: 58165

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/MainFrame.java
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties