Summary: | - Loop controller with 0 iterations, stops evaluating the iterations field | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Nikolay Diakov <nikolay.diakov> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | 2.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: |
Test plan to show the bug
Suggested patch |
Description
Nikolay Diakov
2006-10-31 03:05:54 UTC
Created attachment 20177 [details]
Test plan to show the bug
You will need to make a CSV file named "no_iterations.csv", with the number of
iteration of the loop for each iteration of the threadgroup, for example like
this :
2
1
0
3
You will see that you only get 3 samples (2+1).
Created attachment 20178 [details]
Suggested patch
This suggested patch causes the the loop evaluation to be executed on each
iteration, even if the loop has had a "Loop count" of value 0 in earlier
iterations.
This can be useful for example if you are looping over company and their
customers as an example. If some company has 0 customers, this bug means that
the "customers" loop will never again be entered, even if the next company has
4 customers.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1819 |