You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by kirk <ki...@gmail.com> on 2008/07/08 21:46:48 UTC

more on beanshell

Hi,

I tend to test many websites so keeping beanshell scripts in the jmeter 
distro doesn't allow me to keep things as organized as I'd like them to 
be. Does anyone know of some way to set an alternate directory for the 
pre, post, and sampler beanshell scripts?

Regards,
Kirk

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


Re: more on beanshell

Posted by sebb <se...@gmail.com>.
On 09/07/2008, kirk <ki...@gmail.com> wrote:
> Hi Sebb,
>
>  What I was hoping for was the ability to contain all properties on a
> project by project basis so that I could lock down the distribution. Seems
> like there are a few options to manage this. I can have local copies of
> user.properties and system.properties. Having the ability to define a local
> jmeter.properties would just about fit the bill. Do you know if this command
> line option would do it? -p, --propfile {argument}.
>

-q propfile

-p, -q and user.properties are all used to define JMeter properties.

>  TIA,
>  Kirk
>
>
>  sebb wrote:
>
> > On 08/07/2008, kirk <ki...@gmail.com> wrote:
> >
> >
> > > Hi,
> > >
> > >  I tend to test many websites so keeping beanshell scripts in the jmeter
> > > distro doesn't allow me to keep things as organized as I'd like them to
> be.
> > > Does anyone know of some way to set an alternate directory for the pre,
> > > post, and sampler beanshell scripts?
> > >
> > >
> > >
> >
> > The init files can be in any directory - just change the property.
> > Likewise for script files, you can use a absolute or relative path.
> >
> >
> >
> > >  Regards,
> > >  Kirk
> > >
> > >
> ---------------------------------------------------------------------
> > >  To unsubscribe, e-mail:
> > > jmeter-user-unsubscribe@jakarta.apache.org
> > >  For additional commands, e-mail:
> > > jmeter-user-help@jakarta.apache.org
> > >
> > >
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
>
>

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


Re: more on beanshell

Posted by kirk <ki...@gmail.com>.
Hi Sebb,

What I was hoping for was the ability to contain all properties on a 
project by project basis so that I could lock down the distribution. 
Seems like there are a few options to manage this. I can have local 
copies of user.properties and system.properties. Having the ability to 
define a local jmeter.properties would just about fit the bill. Do you 
know if this command line option would do it? -p, --propfile {argument}.

TIA,
Kirk

sebb wrote:
> On 08/07/2008, kirk <ki...@gmail.com> wrote:
>   
>> Hi,
>>
>>  I tend to test many websites so keeping beanshell scripts in the jmeter
>> distro doesn't allow me to keep things as organized as I'd like them to be.
>> Does anyone know of some way to set an alternate directory for the pre,
>> post, and sampler beanshell scripts?
>>
>>     
>
> The init files can be in any directory - just change the property.
> Likewise for script files, you can use a absolute or relative path.
>
>   
>>  Regards,
>>  Kirk
>>
>> ---------------------------------------------------------------------
>>  To unsubscribe, e-mail:
>> jmeter-user-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail:
>> jmeter-user-help@jakarta.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>   


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


Re: more on beanshell

Posted by sebb <se...@gmail.com>.
On 08/07/2008, kirk <ki...@gmail.com> wrote:
> Hi,
>
>  I tend to test many websites so keeping beanshell scripts in the jmeter
> distro doesn't allow me to keep things as organized as I'd like them to be.
> Does anyone know of some way to set an alternate directory for the pre,
> post, and sampler beanshell scripts?
>

The init files can be in any directory - just change the property.
Likewise for script files, you can use a absolute or relative path.

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

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