Bug 64103 - Throughput controller causes stack overflow/latency spike towards end of test
Summary: Throughput controller causes stack overflow/latency spike towards end of test
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 4.0
Hardware: PC
: P2 major (vote)
Target Milestone: JMETER_5.3.0
Assignee: JMeter issues mailing list
Depends on:
Reported: 2020-01-28 02:00 UTC by ATan
Modified: 2020-01-28 02:01 UTC (History)
0 users

Test Plan (5.56 KB, application/xml)
2020-01-28 02:00 UTC, ATan
stack overflow error message (120.49 KB, text/plain)
2020-01-28 02:01 UTC, ATan

Note You need to log in before you can comment on or make changes to this bug.
Description ATan 2020-01-28 02:00:11 UTC
Created attachment 36983 [details]
Test Plan

Whenever I have a throughput controller paired with a http sampler, I get the occasional stack overflow error when trying to generate a dashboard report. I've included a basic script of what my test plan looks like, but it basically goes like this:

Thread group - 250 users
-Read value line by line from a csv file
-Include value in http payload in the form of a POST request to a server
-Throughput total executions for 1 Million requests. I want the test to gracefully end and generate dashboard after it fulfills this

More often than not I have an error at the last step. And in addition to that, during the very last step of running this test the latency has a huge spike. From an average max of ~100 ms to sometimes ~900000 ms. I even tested with a different server and its the same behavior.

And for clarity sake, I'm encountering problematic behaviors towards the end of the test when I use a throughput controller. Either the test wraps up cleanly, stack overflows, or has a huge lag spike before the report is created. 

I'll try attaching the error message from log in addition to test plan. I've seen similar bug requests involving if statements, but I can confirm there are no explicit if statements in my test plan.

+Java 8
+20GB Heap memory, modified registry timedwaitdelay and maxuserport for max values
Comment 1 ATan 2020-01-28 02:01:13 UTC
Created attachment 36984 [details]
stack overflow error message
Comment 2 The ASF infrastructure team 2022-09-24 20:38:18 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5232