jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob <b.mel...@gmail.com>
Subject Include once Beanshell script
Date Sun, 05 Apr 2015 03:49:46 GMT
Hi,

Is it possible to include once Beanshell script and re-use it in child 
samplers, something like "HTTP Request Defaults"? Now I have to 
duplicate this code each time when I want to use it's methods:

source("${script.dir}/${include.dir}/${include.assertions}");

What I want is just include 
source("${script.dir}/${include.dir}/${include.assertions}"); once and 
re-use it anywhere I want. Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message