title: 2 different unix time stamp is generated when JSR223 Pre Processor is used in Jmeter
body: <p>Here is the groovy code used in Jmeter JSR223 preprocessor:</p>
  
  <pre><code>import java.lang.Long
  def long timeStamp=System.currentTimeMillis();
  def name=("Report_"+timeStamp);
  log.info(name)
  vars.put("DocumentName",name);
  </code></pre>
  
  <p>I need to generate the first hit timestamp(single) and pass it to 2 different transaction. But when I checked jmeter log, it has 2 different timestamp that has been passed to 2 different transaction.</p>
  
  <p>The same I have checked with SOAPUI tool but it gives me single output.</p>