Skip to content

Commit

Permalink
Bug 60023 - ThroughputController : Make "Percent Executions" and glob…
Browse files Browse the repository at this point in the history
…al the default values

Bugzilla Id: 60023

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1756993 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
pmouawad committed Aug 20, 2016
1 parent 8897631 commit 89bb8c5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
Expand Up @@ -101,9 +101,9 @@ public void modifyTestElement(TestElement tc) {
@Override
public void clearGui() {
super.clearGui();
styleBox.setSelectedIndex(0);
styleBox.setSelectedIndex(1);
throughput.setText("1"); // $NON-NLS-1$
perthread.setSelected(true);
perthread.setSelected(false);
}

@Override
Expand Down
2 changes: 2 additions & 0 deletions xdocs/changes.xml
Expand Up @@ -66,6 +66,7 @@ Summary

<ul>
<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>
<li>ThroughputController defaults have changed. Now defaults are Percent Executions which is global and no more per user. See <bugzilla>60023</bugzilla></li>
</ul>

<h3>Deprecated and removed elements</h3>
Expand All @@ -92,6 +93,7 @@ Summary
<h3>Controllers</h3>
<ul>
<li><bug>59351</bug>Improve log/error/message for IncludeController. Partly contributed by Antonio Gomes Rodrigues (ra0077 at gmail.com)</li>
<li><bug>60023</bug>ThroughputController : Make "Percent Executions" and global the default values. Contributed by Ubik Load Pack (support at ubikloadpack.com)</li>
</ul>

<h3>Listeners</h3>
Expand Down
20 changes: 11 additions & 9 deletions xdocs/usermanual/component_reference.xml
Expand Up @@ -2228,19 +2228,21 @@ what results any given interaction will give</note>

<component name="Throughput Controller" index="&sect-num;.2.7" width="329" height="167" screenshot="throughput_controller.png">
<description>
<p>
<b>This controller is badly named, as it does not control throughput.</b>
Please refer to the <complink name="Constant Throughput Timer"/> for an element that can be used to adjust the throughput.
</p>
<p>The Throughput Controller allows the user to control how often it is executed. There are two modes - percent execution and total executions.</p>
<p>The Throughput Controller allows the user to control how often it is executed.
There are two modes:
<ul>
<li>percent execution</li>
<li>total executions</li>
</ul>
<dl>
<dt><code>Percent executions</code></dt><dd>causes the controller to execute a certain percentage of the iterations through the test plan.</dd>
<dt><code>Total executions</code></dt><dd>causes the controller to stop executing after a certain number of executions have occurred.</dd>
</dl>
<p>
Like the Once Only Controller, this
setting is reset when a parent Loop Controller restarts.
Like the Once Only Controller, this setting is reset when a parent Loop Controller restarts.
</p>
<note>This controller is badly named, as it does not control throughput.
Please refer to the <complink name="Constant Throughput Timer"/> for an element that can be used to adjust the throughput.
</note>
</description>
<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>
<properties>
Expand Down Expand Up @@ -2680,7 +2682,7 @@ before loading the file.
When reading from CSV results files, the header (if present) is used to determine which fields are present.
<b>In order to interpret a header-less CSV file correctly, the appropriate properties must be set in <code>jmeter.properties</code>.</b>
<note>
XML files written by JMeter have version 1.0 declared in header while actual file is serialized with 1.1 rules.
XML files written by JMeter have version 1.0 declared in header while actual file is serialized with 1.1 rules.
(This is done for historical compatibility reasons; see <bugzilla>59973</bugzilla> and <bugzilla>58679</bugzilla>)
This causes strict XML parsers to fail. Consider using non-strict XML parsers to read JTL files.
</note>
Expand Down

0 comments on commit 89bb8c5

Please sign in to comment.