On 01/03/2010, Deepak Shetty <[email protected]> wrote: > This still needs the file physically present on all slaves correct? i.e. it
No. > doesn't automatically distribute the file/properties from the master? > regards JMeter reads the file and sends all the properties across. Or rather, it collects all the properties - whether defined individually or in a file - and sends them across to all the remote slaves once they have been initialised. > deepak > > > On Mon, Mar 1, 2010 at 11:28 AM, sebb <[email protected]> wrote: > > > On 18/02/2010, Deepak Shetty <[email protected]> wrote: > > > >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 > > > > The -G option defines individual properties, but also allows for a > > file to be specified, for example > > > > -Gglobal.properties -Gprop=value > > > > > 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> > > < > > > 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. > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

