You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by ma...@bt.com on 2006/06/22 14:35:06 UTC

BeanShellFunction.bshrc not picked up

If I call jmeter from outside the jmeter bin directory the
BeanShellFunction.bshrc is not picked up from the jmeter bin directory.
If I copy BeanShellFunction.bshrc to the directory from which I am
invoking jmeter it does pick it up. So I guess the
beanshell.function.init property has to be an absolute or is there a way
to specify something like

Beanshell.function.init=${JMETER_HOME}/bin/BeanShellFunctions.bshrc

Thanks

Martin West
01252 778772


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


Re: BeanShellFunction.bshrc not picked up

Posted by sebb <se...@gmail.com>.
Good point.

It might be best if BeanShell tried the current directory first, and
then tried the JMeter bin directory if the file was not found - i.e.
no need for a different syntax.

Perhaps you could create a Bugzilla enhancement?

S.
On 22/06/06, martin.2.west@bt.com <ma...@bt.com> wrote:
> If I call jmeter from outside the jmeter bin directory the
> BeanShellFunction.bshrc is not picked up from the jmeter bin directory.
> If I copy BeanShellFunction.bshrc to the directory from which I am
> invoking jmeter it does pick it up. So I guess the
> beanshell.function.init property has to be an absolute or is there a way
> to specify something like
>
> Beanshell.function.init=${JMETER_HOME}/bin/BeanShellFunctions.bshrc
>
> Thanks
>
> Martin West
> 01252 778772
>
>
> ---------------------------------------------------------------------
> 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