Bug 64219 - Nested CSV while loops
Summary: Nested CSV while loops
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.2.1
Hardware: PC
: P2 normal (vote)
Target Milestone: JMETER_5.3.0
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-12 14:32 UTC by Marbaf
Modified: 2020-03-12 14:32 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marbaf 2020-03-12 14:32:58 UTC
Hi,
Used to loop though a CSV file with while controller, I am unable to make nested CSV while loops work.

Config:
ThreadGroup
  ...
  while condition=${var1}
    CSV dataset from file1.csv vars=var1
    while condition=${var2}
      CSV dataset from file2.csv vars=var2
      debug sampler

No matter values of dataset's options, second loop never ends and var1 keeps the same value. I assume it is related to jMeter internal environment?
Am I misusing the tool?

Had to use a basic loop controller, much less handy.

BR