Bug 62914 - Add a hint in Thread Group UI about duration of test
Summary: Add a hint in Thread Group UI about duration of test
Status: REOPENED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.0
Hardware: All All
: P2 enhancement (vote)
Target Milestone: JMETER_5.1
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2018-11-15 22:12 UTC by Philippe Mouawad
Modified: 2019-10-04 11:04 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2018-11-15 22:12:54 UTC
I often see on stackoverflow and during my training / consulting work a misunderstanding about duration of test when user:

- configures scheduler with a duration
- but keeps Loop Count to a limited number

The question is then, how come my test didn't last for the expected duration ?

To disambiguate this, I propose to add this note in UI:

If Loop Count is not -1 or Forever, duration will be min(Duration, Loop Count * iteration duration)
Comment 1 Philippe Mouawad 2018-11-15 22:15:39 UTC
Author: pmouawad
Date: Thu Nov 15 22:14:15 2018
New Revision: 1846687

URL: http://svn.apache.org/viewvc?rev=1846687&view=rev
Log:
Bug 62914 - Add a hint in Thread Group UI about duration of test
Bugzilla Id: 62914

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
    jmeter/trunk/src/core/org/apache/jmeter/threads/gui/ThreadGroupGui.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 Vladimir Sitnikov 2019-10-04 09:17:37 UTC
@philippe, I find that the warning distracts me.

What do you think if the remove the warning and rename "duration" label to "maximum test duration" instead?


That should mean the threads won't last more than "maximum test duration".
Comment 3 Philippe Mouawad 2019-10-04 11:04:35 UTC
(In reply to Vladimir Sitnikov from comment #2)
> @philippe, I find that the warning distracts me.
> 
> What do you think if the remove the warning and rename "duration" label to
> "maximum test duration" instead?
> 
> 
> That should mean the threads won't last more than "maximum test duration".

Although not very sexy, I think this warning is useful, I saw many questions on SO where this was not understood.


Yes the label change is a good idea but is not enough IMO