Bug 59223 - Stack overflow in Random Controller/Interleave Controller if it contains child Throughput Controller elements
Summary: Stack overflow in Random Controller/Interleave Controller if it contains chil...
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.13
Hardware: PC Windows NT
: P2 major (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-23 17:22 UTC by Aleksey Koltakov
Modified: 2016-03-23 17:22 UTC (History)
0 users



Attachments
Test plan to reproduce bug (11.50 KB, application/xml)
2016-03-23 17:22 UTC, Aleksey Koltakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksey Koltakov 2016-03-23 17:22:23 UTC
Created attachment 33697 [details]
Test plan to reproduce bug

Create and run test plan with several Throughput Controller elements under Random Controller/Interleave Controller:

Test Plan
  Thread Group (threads 1; ramp up 1; loop count 1)
  	Loop Controller (Forever ON)
	    Random Controller
	      Throughput Controller (Total Executions; Throughput 2; Per User ON)
	        HTTP Request
	      Throughput Controller (Total Executions; Throughput 1; Per User ON)
	        HTTP Request

Only the first request is sent, test ends with the following error (stack overflow):

cController.next(GenericController.java:180)
	at org.apache.jmeter.control.InterleaveControl.next(InterleaveControl.java:84)
	at org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:95)
	at org.apache.jmeter.control.GenericController.next(GenericController.java:180)
	at org.apache.jmeter.control.InterleaveControl.next(InterleaveControl.java:84)
	at org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:95)
	at org.apache.jmeter.control.GenericController.next(GenericController.java:180)
...

If you replace Random Controller with Simple Controller the test will run correctly.