Created attachment 35708 [details] 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) ...
https://github.com/apache/jmeter/pull/373
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
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
This fix works for me Thanks
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4682