title: How to control variable substitution in JMeter?
body: <p>I have some user defined variables:</p>
  
  <pre><code>SERVER_NAME          myhost.com
  THE_HTTP_PROTOCOL    HTTP
  LOOP_COUNT           2
  </code></pre>
  
  <p>Then, I use a Recording Controller to capture my browser actions.  Unfortunately, JMeter does more variable substitution than I'd like it to.  For example, it substitutes <code>${LOOP_COUNT}</code> into a web site name that contains "2", e.g., <code>/host${LOOP_COUNT}/somePage</code>.  My favorite example of over-zealous variable substitution is my <code>${THE_${THE_HTTP_PROTOCOL}_PROTOCOL}</code> Header Manager.</p>
  
  <p>Is it possible to make the recording more selective about what variables can be used for substitution?  For example, of the variables I've listed, I'd really only like <code>SERVER_NAME</code> to be substituted in.</p>
  
  <p>I'm using JMeter 2.11.</p>