View | Details | Raw Unified | Return to bug 60023
Collapse All | Expand All

(-)src/components/org/apache/jmeter/control/gui/ThroughputControllerGui.java (-2 / +2 lines)
Lines 101-109 Link Here
101
    @Override
101
    @Override
102
    public void clearGui() {
102
    public void clearGui() {
103
        super.clearGui();
103
        super.clearGui();
104
        styleBox.setSelectedIndex(0);
104
        styleBox.setSelectedIndex(1);
105
        throughput.setText("1"); // $NON-NLS-1$
105
        throughput.setText("1"); // $NON-NLS-1$
106
        perthread.setSelected(true);
106
        perthread.setSelected(false);
107
    }
107
    }
108
108
109
    @Override
109
    @Override
(-)xdocs/changes.xml (+2 lines)
Lines 66-71 Link Here
66
66
67
<ul>
67
<ul>
68
    <li>A cache for CSS Parsing of URLs has been introduced in this version, it is enabled by default. It is controlled by property <code>css.parser.cache.size</code>. It can be disabled by setting its value to 0. See <bugzilla>59885</bugzilla></li>
68
    <li>A cache for CSS Parsing of URLs has been introduced in this version, it is enabled by default. It is controlled by property <code>css.parser.cache.size</code>. It can be disabled by setting its value to 0. See <bugzilla>59885</bugzilla></li>
69
    <li>ThroughputController defaults have changed. Now defaults are Percent Executions which is global and no more per user. See <bugzilla>60023</bugzilla></li>
69
</ul>
70
</ul>
70
71
71
<h3>Deprecated and removed elements</h3>
72
<h3>Deprecated and removed elements</h3>
Lines 92-97 Link Here
92
<h3>Controllers</h3>
93
<h3>Controllers</h3>
93
<ul>
94
<ul>
94
    <li><bug>59351</bug>Improve log/error/message for IncludeController. Partly contributed by Antonio Gomes Rodrigues (ra0077 at gmail.com)</li>
95
    <li><bug>59351</bug>Improve log/error/message for IncludeController. Partly contributed by Antonio Gomes Rodrigues (ra0077 at gmail.com)</li>
96
    <li><bug>60023</bug>ThroughputController : Make "Percent Executions" and global the default values</li>
95
</ul>
97
</ul>
96
98
97
<h3>Listeners</h3>
99
<h3>Listeners</h3>
(-)xdocs/usermanual/component_reference.xml (-8 / +10 lines)
Lines 2228-2246 Link Here
2228
2228
2229
<component name="Throughput Controller" index="&sect-num;.2.7" width="329" height="167" screenshot="throughput_controller.png">
2229
<component name="Throughput Controller" index="&sect-num;.2.7" width="329" height="167" screenshot="throughput_controller.png">
2230
<description>
2230
<description>
2231
<p>
2231
<p>The Throughput Controller allows the user to control how often it is executed.  
2232
<b>This controller is badly named, as it does not control throughput.</b>
2232
There are two modes:
2233
Please refer to the <complink name="Constant Throughput Timer"/> for an element that can be used to adjust the throughput.
2233
<ul>
2234
</p>
2234
<li>percent execution</li>
2235
<p>The Throughput Controller allows the user to control how often it is executed.  There are two modes - percent execution and total executions.</p>
2235
<li>total executions</li>
2236
</ul>
2236
<dl>
2237
<dl>
2237
  <dt><code>Percent executions</code></dt><dd>causes the controller to execute a certain percentage of the iterations through the test plan.</dd>
2238
  <dt><code>Percent executions</code></dt><dd>causes the controller to execute a certain percentage of the iterations through the test plan.</dd>
2238
  <dt><code>Total executions</code></dt><dd>causes the controller to stop executing after a certain number of executions have occurred.</dd>
2239
  <dt><code>Total executions</code></dt><dd>causes the controller to stop executing after a certain number of executions have occurred.</dd>
2239
</dl>
2240
</dl>
2240
<p>
2241
Like the Once Only Controller, this setting is reset when a parent Loop Controller restarts.
2241
Like the Once Only Controller, this
2242
setting is reset when a parent Loop Controller restarts.
2243
</p>
2242
</p>
2243
<note>This controller is badly named, as it does not control throughput.
2244
Please refer to the <complink name="Constant Throughput Timer"/> for an element that can be used to adjust the throughput.
2245
</note>
2244
</description>
2246
</description>
2245
<note>The Throughput Controller can yield very complex behavior when combined with other controllers - in particular with interleave or random controllers as parents (also very useful).</note>
2247
<note>The Throughput Controller can yield very complex behavior when combined with other controllers - in particular with interleave or random controllers as parents (also very useful).</note>
2246
<properties>
2248
<properties>

Return to bug 60023