title: How to pass user defined variable of JMeter to Javascript?
body: <p>I have following javascript in eclipse:</p>
  
  <p>package print_first_fifteen;</p>
  
  <pre><code>public class PrintText { 
  
     public static void main(String[] args) {
  
  int i;
     char var;
  
     for (i=1; i&lt;=var ; i++)
  
          System.out.println(i);
  
     }
  }
  </code></pre>
  
  <p>I have defined char var = 20 in JMeter user defined variable.
  How to call this variable defined in Jmeter to this Javascript?
  Thanks in advance</p>