GitHub user artem-fedorov opened a pull request: https://github.com/apache/jmeter/pull/373
Fix/stackoverflowerror throughput controller. Bug 62062 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) ... ``` This PR contains the test that reproduced this bug and the fix. You can merge this pull request into a Git repository by running: $ git pull https://github.com/artem-fedorov/jmeter fix/stackoverflowerror-throughput-controller Alternatively you can review and apply these changes as the patch at: https://github.com/apache/jmeter/pull/373.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #373 ---- commit e308797e1b141ecd4d07be3839d609468848060a Author: Artem Fedorov <artem.fedorov@...> Date: 2018-01-30T12:31:10Z Fix StackOverFlowError in ThroughputController commit 47edd57a6c18712bd41367b8426950990c46a70e Author: Artem Fedorov <artem.fedorov@...> Date: 2018-01-30T12:47:10Z add changelog ---- ---