title: How to print the values of variables in a JMeter bean shell assertion
body: <p>Using Jmeter, I'm passing values to a webservice through a REST API. On Success the API updates the values to a mongo DB.
  While Asserting using JMeter BeanShell Assertion..I want to display the values sent in the Request and values Stored in the DB.</p>
  
  <p>Im Using the below Script..</p>
  
  <pre><code>String req_data="${Request_Configuration}";
  String res_data="${mongo_db_Configuration}";
  
  
  if(res_data.equalsIgnoreCase(req_data)){
     Failure=false;
     FailureMessage = "Data stored in DB is correct";
     System.out.println("ReqData="+req_data);
     System.out.println("ResData="+res_data);
  }
  else{
     Failure = true;
     FailureMessage = "Data Stored in DB is NOT correct";
     System.out.println("ReqData="+req_data);
     System.out.println("ResData="+res_data);
  }
  </code></pre>
  
  <p>Im Just not able to Print ReqData and ResData. Please help out.</p>