jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Additional properties to be used globally
Date Mon, 01 Mar 2010 21:55:35 GMT
This still needs the file physically present on all slaves correct? i.e. it
doesn't automatically distribute the file/properties from the master?
regards
deepak

On Mon, Mar 1, 2010 at 11:28 AM, sebb <sebbaz@gmail.com> wrote:

> On 18/02/2010, Deepak Shetty <shettyd@gmail.com> 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 <brettcave@gmail.com>
> wrote:
> >
> >  > Hi all,
> >  >
> >  > Was searching through the archives for a solution for this -
> >  >
> >
> > >
> http://www.mail-archive.com/jmeter-user@jakarta.apache.org/msg18749.html(question<http://www.mail-archive.com/jmeter-user@jakarta.apache.org/msg18749.html%28question>
> <
> http://www.mail-archive.com/jmeter-user@jakarta.apache.org/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: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message