>Is there a way to do this, or would this be an feature that is not currently available. I dont believe there is such a feature. if you use -p , the property file must be present on all the remote servers (which must also be started with -p) , i think , not tested. I think this feature is useful enough so you might try and see if there is an enhancement request in jmeter bugzilla or file one
regards deepak On Wed, Feb 17, 2010 at 11:59 PM, Brett Cave <[email protected]> wrote: > Hi all, > > Was searching through the archives for a solution for this - > > http://www.mail-archive.com/[email protected]/msg18749.html(question<http://www.mail-archive.com/[email protected]/msg18749.html%28question> > 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. >

