I've just have changed the name of the scenario (search-categories ->
browse-categories) and StackOverFlowError has mutated into the one below.
I think it's not CSV reading which is the problem but iteration over to the next virtual user (VU).
Each VU goes through paging till the end (sometimes that is 20-30 pages for a single user to go through)
Running it as follow
bzt execute.yml -o modules.jmeter.path=/opt/apache-jmeter-5.4.1/bin/jmeter -o settings.artifacts-dir=artifacts -o settings.env.host=https://something.co.uk/ -o execution.0.scenario=browse-categories -o execution.0.write-xml-jtl=full -o execution.0.concurrency=50 -o execution.0.ramp-up=300s -o execution.0.hold-for=60m -o execution.0.throughput= -o execution.0.iterations= -o execution.0.distributed.0=10..... -o execution.0.distributed.1=10....2021-08-13 12:13:19,336 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[10.18.5.31-browse-categories-ThreadStarter 1-158,5,RMI Runtime]
java.lang.StackOverflowError: null
at java.lang.String.valueOf(String.java:2994) ~[?:1.8.0_302]
at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:1.8.0_302]
at org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:146) ~[ApacheJMeter_core.jar:5.4.1]
at org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:113) ~[ApacheJMeter_core.jar:5.4.1]
at org.apache.jmeter.functions.Jexl3Function.execute(Jexl3Function.java:72) ~[ApacheJMeter_functions.jar:5.4.1]
at org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:138) ~[ApacheJMeter_core.jar:5.4.1]
at org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:113) ~[ApacheJMeter_core.jar:5.4.1]
at org.apache.jmeter.testelement.property.FunctionProperty.getStringValue(FunctionProperty.java:100) ~[ApacheJMeter_core.jar:5.4.1]
at org.apache.jmeter.control.WhileController.getCondition(WhileController.java:142) ~[ApacheJMeter_core.jar:5.4.1]
at org.apache.jmeter.control.WhileController.endOfLoop(WhileController.java:62) ~[ApacheJMeter_core.jar:5.4.1]
at org.apache.jmeter.control.WhileController.next(WhileController.java:112) ~[ApacheJMeter_core.jar:5.4.1]
at org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:222) ~[ApacheJMeter_core.jar:5.4.1]
at org.apache.jmeter.control.GenericController.next(GenericController.java:175) ~[ApacheJMeter_core.jar:5.4.1]
at com.blazemeter.jmeter.control.VirtualUserController.next(VirtualUserController.java:41) ~[jmeter-plugins-casutg-2.9.jar:?]
at com.blazemeter.jmeter.control.VirtualUserController.nextIsNull(VirtualUserController.java:86) ~[jmeter-plugins-casutg-2.9.jar:?]
at org.apache.jmeter.control.GenericController.next(GenericController.java:170) ~[ApacheJMeter_core.jar:5.4.1]
at com.blazemeter.jmeter.control.VirtualUserController.next(VirtualUserController.java:41) ~[jmeter-plugins-casutg-2.9.jar:?]
at org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:225) ~[ApacheJMeter_core.jar:5.4.1]
at org.apache.jmeter.control.GenericController.next(GenericController.java:175) ~[ApacheJMeter_core.jar:5.4.1]
Cheers,
Mariusz