title: JMeter - submit JMeter function inside a script (JSR223 element)
body: <p>Functions are very useful for writing a functional script and also helpful without writing real code.</p>
  
  <p>Currently I can execute functions in most of Test Plan except in Script of JSR223 Sampler for example.</p>
  
  <p>Is there a way to enable JMeter function inside JSR223/Beanshell script?
  For example ${__log(Message)} or ${__Random(0,10)}</p>
  
  <p>If the call for variable as ${..} is an issue, is there a workaround for calling a function? </p>
  
  <p>Maybe there will be a problem calling groovy function inside groovy script, But can other functions be executed?</p>