n3A87 commented on code in PR #6370:
URL: https://github.com/apache/jmeter/pull/6370#discussion_r1858533364


##########
src/components/src/main/java/org/apache/jmeter/control/ForeachController.java:
##########
@@ -198,6 +198,9 @@ private boolean endOfArguments() {
     // Prevent entry if nothing to do
     @Override
     public Sampler next() {
+        if (loopCount < getStartIndex()) {
+            loopCount = getStartIndex();
+        }

Review Comment:
   Do you mean you want me to add a unit test about the change? I have only 
verified that this change can solve the problem. #6180
   
![image](https://github.com/user-attachments/assets/cfb34e35-7a2f-49a3-8287-981a7fe86689)
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to