title: Variable is only set by JSON Post Processor with Debug Sampler enabled
body: <p>I definitely feel like I am missing something obvious, but here it goes anyway. I have a script that does the following per user in a thread group:</p>
  
  <p><code>
  login
  get a json list for that user
  extract a part of the list from the response with a regex extractor into a variable called feed
  start a for loop with feed_matchNr number of iterations
  start a Counter
  get the nth item from the list and use JSON Post Processor on the feed variable to get an id
  make an additional http request with that id
  continue loop
  </code></p>
  
  <p><a href="https://i.stack.imgur.com/2WzTs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2WzTs.png" alt="enter image description here"></a></p>
  
  <p>This all works as expected ... until I disable the Debug Sampler. Then the http request no longer "expands" the variable, instead the request has something like /api/path/${myid}/foo and fails. What black magic is the Debug Sampler doing and how can I do the same magic without it?</p>