title: Import a third party Jar file to Beanshell sampler having error when running
body: <p>Creating User Define Variable, with 3 variables CHAT_HOST, CHAT_PORT, CHAT_SERVICE
  And assign value to them.</p>
  
  <p>Putting 2 Smack 3.0 file to /lib folder of Jmeter and creating the Beanshell sampler with the code as below:</p>
  
  <pre><code>import org.jivesoftware.smack.ConnectionConfiguration;
  import org.jivesoftware.smack.SASLAuthentication;
  import org.jivesoftware.smack.XMPPConnection;
  
  
  ConnectionConfiguration config = new ConnectionConfiguration();
  ConnectionConfiguration.init(vars.get("CHAT_HOST"), vars.get("CHAT_PORT"), vars.get("CHAT_SERVICE"));
  XMPPConnection connection = new XMPPConnection(config);
  connection.connect();
  </code></pre>
  
  <p>But, when running the console shows error as below:</p>
  
  <pre><code>WARN  - jmeter.protocol.java.sampler.BSFSampler: BSF error org.apache.bsf.BSFException: BeanShell script error: Sourced file: inline evaluation of: ``import org.jivesoftware.smack.ConnectionConfiguration; import org.jivesoftware.s . . . '' : Typed variable declaration : Undefined argument: HOST  : at Line: 7 : in file: inline evaluation of: ``import org.jivesoftware.smack.ConnectionConfiguration; import org.jivesoftware.s . . . '' : ( HOST , PORT , SERVICE ) 
   BSF info: script at line: 0 column: columnNo
      at bsh.util.BeanShellBSFEngine.eval(BeanShellBSFEngine.java:199)
      at org.apache.jmeter.protocol.java.sampler.BSFSampler.sample(BSFSampler.java:104)
      at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)
      at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
      at java.lang.Thread.run(Unknown Source)
  </code></pre>
  
  <p>Would you like to tell me how to handle this error, and the way to call a class from third party Jar file as I did - is it right or wrong ? If wrong, please instruct me.</p>
  
  <p>Thanks,</p>