title: how to set counter of loop inside loop correctly inside jmeter?
body: <p>I have jmeter flow like this:</p>
  
  <pre><code>ThreadGroup
  --Sampler to get the number of items and store to vars("numItem",XYZ)
  --LoopController on $numItem
  -----Sampler to get number of subItem and store to vars("numSubitem", ABC)
  -----LoopController on $numSubitem
  -----LoopCounter
  -----Sampler: print out the current counter from loopCounter
  </code></pre>
  
  <p>For example, the number of item = 2 and subItem = 10, my loopCounter print out will be 0 - 19.  I have checked the checkbout "Track counter independently for each user" but it doesn't affect because this is the same thread. Is there a way to make the counter count 0 - 9 and then 0 - 9.</p>
  
  <p>Thanks,</p>