You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Eric Gandt <er...@fatwire.com> on 2011/05/09 17:34:18 UTC

beanShell Sampler and Classpath

I need to set the classpath that is exported to the beanShell, the reason is
that I can not set the classpath in the beanshell I mean this the
addClasspath does not help and as the jars I point to may move from system
to system, I would not want to do it this way anyways.  The problem is that
the beanShell Sampler does not seem to use the classpath set when jmeter is
started.  Is there a separate path I must set to get beanshell's classpath
set?

An extra question where are errors thrown by beanShell kept, I see output
logged, but errors disappear when run through jmeter.

Thanks,
ERIC

--
View this message in context: http://jmeter.512774.n5.nabble.com/beanShell-Sampler-and-Classpath-tp4382184p4382184.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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


Re: beanShell Sampler and Classpath

Posted by Eric Gandt <er...@fatwire.com>.
Thanks that answered the question, sorry I missed that.

--
View this message in context: http://jmeter.512774.n5.nabble.com/beanShell-Sampler-and-Classpath-tp4382184p4384433.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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


Re: beanShell Sampler and Classpath

Posted by sebb <se...@gmail.com>.
On 9 May 2011 16:34, Eric Gandt <er...@fatwire.com> wrote:
> I need to set the classpath that is exported to the beanShell, the reason is
> that I can not set the classpath in the beanshell I mean this the
> addClasspath does not help and as the jars I point to may move from system
> to system, I would not want to do it this way anyways.  The problem is that
> the beanShell Sampler does not seem to use the classpath set when jmeter is
> started.  Is there a separate path I must set to get beanshell's classpath
> set?

Have you read:

http://jakarta.apache.org/jmeter/usermanual/get-started.html#classpath

> An extra question where are errors thrown by beanShell kept, I see output
> logged, but errors disappear when run through jmeter.

One question per thread please.

> Thanks,
> ERIC
>
> --
> View this message in context: http://jmeter.512774.n5.nabble.com/beanShell-Sampler-and-Classpath-tp4382184p4382184.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> 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