apache / apache/jmeter

Nested CSV while loops

Open
#5,255 0 comments 0 reactions 0 assignees View on GitHub
P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**Marbaf** ([Bug 64219](https://bz.apache.org/bugzilla//show_bug.cgi?id=64219&redirect=false)):
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

Severity: normal
OS:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.