Hi all,

Was searching through the archives for a solution for this -
http://www.mail-archive.com/[email protected]/msg18749.html(question
regarding user defined variables).

I have defined a test plan with a number of variables, and then generate a
properties file automatically. JMeter then runs this property file with the
-q parameter, which works great when running locally.

However, when I run remote servers, these properties are not propogated to
servers - it seems that the -G parameter is used for global properties, is
there a way to configure a "global properties file" ?

I run jmeter with a script like:
GLOBAL_VARS=""
for var in `grep -vE "^#|^$" ${JMETER_ADDITIONAL_PROPERTIES_FILE}`; do
    GLOBAL_VARS="${GLOBAL_VARS} -G${var}"
done
$JMETER -n ..... ${GLOBAL_VARS} ... -R server1,server2

as a workaround, but would be much easier to pass a properties file to
JMeter that is used to set global vars.

Is there a way to do this, or would this be an feature that is not currently
available.

Reply via email to