Created attachment 29269 [details] Jmeter script version: 2.7 r1342410 Counter increments in situation described below: var = 0 if (false) { if (true) { Counter(var) } } after that var has a value set to 1 if we change this to: var = 0 if (false) { BeanShell Sampler if (true) { Counter(var) } } then it works correctly I have attached jmeter script showing this bug
*** This bug has been marked as a duplicate of bug 52496 ***
*** This bug has been marked as a duplicate of bug 56811 ***
*** This bug has been marked as a duplicate of bug 56160 ***
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2900