title: Compare User Defined Variable to Jmeter Variable Response
body: <p>I have a question about user defined variable that I want to compare to field in Response:</p>
  
  <ol>
  <li><p>I created <code>Json Extractor</code> and put the value from the response that I need to check in a variable called <code>CID</code>.</p></li>
  <li><p>I have a user defined variable in the start of the test called <code>Expected_CID</code></p></li>
  <li><p>I Added response Assertion<br>
  In the response assertion I could find out how to compare <code>CID</code> to <code>Expected_CID</code>
  If I put the number it is working as expected but I want to use variable and not hard coded numbers.</p></li>
  </ol>
  
  <p>Can someone please explain what I do wrong?</p>
  
  <p><img src="https://i.stack.imgur.com/e905s.jpg" alt="enter image description here"> 
  <img src="https://i.stack.imgur.com/s9DgN.jpg" alt="enter image description here"></p>