You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2018/01/30 12:45:46 UTC
[Bug 62062] New: ThroughputController: get StackOverFlowError when
maxThroughput=0
https://bz.apache.org/bugzilla/show_bug.cgi?id=62062
Bug ID: 62062
Summary: ThroughputController: get StackOverFlowError when
maxThroughput=0
Product: JMeter
Version: 4.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: artem.fedorov@blazemeter.com
Target Milestone: ---
Created attachment 35708
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35708&action=edit
Test plan that reproduces this bug
When I ran the following Test Plan I got the java.lang.StackOverflowError
- innerLoop
- ThroughputController (sut)
- sampler one
- sampler two
...
at
org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:222)
at org.apache.jmeter.control.GenericController.next(GenericController.java:173)
at org.apache.jmeter.control.LoopController.next(LoopController.java:128)
at org.apache.jmeter.control.LoopController.nextIsNull(LoopController.java:163)
at org.apache.jmeter.control.GenericController.next(GenericController.java:168)
at org.apache.jmeter.control.LoopController.next(LoopController.java:128)
at
org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:222)
at org.apache.jmeter.control.GenericController.next(GenericController.java:173)
at org.apache.jmeter.control.LoopController.next(LoopController.java:128)
at org.apache.jmeter.control.LoopController.nextIsNull(LoopController.java:163)
at org.apache.jmeter.control.GenericController.next(GenericController.java:168)
at org.apache.jmeter.control.LoopController.next(LoopController.java:128)
at
org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:222)
at org.apache.jmeter.control.GenericController.next(GenericController.java:173)
...
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62062] ThroughputController: StackOverFlowError triggered when
maxThroughput=0 or percent Throughput = 0.0
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62062
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ThroughputController: get |ThroughputController:
|StackOverFlowError when |StackOverFlowError
|maxThroughput=0 |triggered when
| |maxThroughput=0 or percent
| |Throughput = 0.0
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62062] ThroughputController: StackOverFlowError triggered when
throughput=0 (Total Executions or Percentage Executions)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62062
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
https://github.com/apache/jmeter/pull/373
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62062] ThroughputController: StackOverFlowError triggered when
throughput=0 (Total Executions or Percentage Executions)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62062
--- Comment #4 from Artem Fedorov <ar...@blazemeter.com> ---
This fix works for me
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62062] ThroughputController: StackOverFlowError triggered when
throughput=0 (Total Executions or Percentage Executions)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62062
--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Thanks for report and PR.
I amended the fix to also handle SO if Percentage=0
Please test and confirm fix is ok for you.
Regards
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62062] ThroughputController: get StackOverFlowError when
maxThroughput=0
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62062
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS|Linux |All
Version|4.0 |3.0
CC| |p.mouawad@ubik-ingenierie.c
| |om
Hardware|PC |All
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62062] ThroughputController: StackOverFlowError triggered when
throughput=0 (Total Executions or Percentage Executions)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62062
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ThroughputController: |ThroughputController:
|StackOverFlowError |StackOverFlowError
|triggered when |triggered when throughput=0
|maxThroughput=0 or percent |(Total Executions or
|Throughput = 0.0 |Percentage Executions)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62062] ThroughputController: StackOverFlowError triggered when
throughput=0 (Total Executions or Percentage Executions)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62062
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Tue Jan 30 21:38:15 2018
New Revision: 1822704
URL: http://svn.apache.org/viewvc?rev=1822704&view=rev
Log:
Bug 62062 - ThroughputController: StackOverFlowError triggered when
throughput=0 (Total Executions or Percentage Executions)
This closes #373
Partly contributed by Artem Fedorov
Bugzilla Id: 62062
Modified:
jmeter/trunk/src/components/org/apache/jmeter/control/ThroughputController.java
jmeter/trunk/test/src/org/apache/jmeter/control/ThroughputControllerSpec.groovy
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.