https://issues.apache.org/bugzilla/show_bug.cgi?id=56507
Bug ID: 56507
Summary: Multi/Nested-loops do not iterate as expected (related
to 51367)
Product: JMeter
Version: 2.11
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
I have a scenario:
for(i=1;i<5;i++)
{
Login (picked from csv, 4 different credentials)
for(j=1;j<6;j++)
{
Search (picked from different csv, 5 different strings-aaa,bbb,ccc,ddd,eee)
}
Logout
}
I script it in Jmeter as follows:
Loop Controller(loops=4)/Thread Group(threads=4)
{
Login (picked from csv, 4 different credentials-abc,def,ghi,jkl)
Loop Controller(loops=5)
{
Search (picked from different csv, 5 different strings-aaa,bbb,ccc,ddd,eee)
}
Logout
}
Result:
For the inner loop(j), it does not pick up 'eee' but instead it picks up 'aaa'
again
It executes as:
abc{aaa,bbb,ccc,ddd,aaa}
def{aaa,bbb,ccc,ddd,aaa}
ghi{aaa,bbb,ccc,ddd,aaa}
jkl{aaa,bbb,ccc,ddd,aaa}
This scenario works correct if I give i=5 loops but does not if I give i=4
loops
--
You are receiving this mail because:
You are the assignee for the bug.