jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: BeanShell Assertion
Date Wed, 20 Apr 2005 14:08:47 GMT
OK, I see.

I should be able to look at this tonight.

S.
On 4/20/05, Luigi Quitadamo <lquitadamo@kion.it> wrote:
> Thank you for the reply.
> 
> I use:
> Jmeter: 2.0.3;
> BeanShell: I try with 2.0b1 and 2.0b2;
> java version 1.4.2_03-b02
> OS: win 2k pro
> 
> In my tests the problem occurs when I use Bean Shell Assertion after a
> JDBCRequest.
> When I use Bean Shell Assertion after a HttpRequest it's ok.
> Bye,
> Luigi
> 
> 
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Wednesday, April 20, 2005 3:24 PM
> To: JMeter Users List
> Subject: Re: BeanShell Assertion
> 
> 2.0B1 should work OK. What version of JMeter are you using? JVM? OS?
> 
> S.
> On 4/20/05, Luigi Quitadamo <lquitadamo@kion.it> wrote:
> > Hi all,
> > when I use BeanShell Assertion
> > it fails and logs the following:
> > 2005/04/20 14:43:31 ERROR - jmeter.util.BeanShellInterpreter: Error
> > invoking bsh method set java.lang.IllegalArgumentException
> >        at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > Source)
> >        at java.lang.reflect.Method.invoke(Unknown Source)
> >        at
> > org.apache.jmeter.util.BeanShellInterpreter.bshInvoke(BeanShellInterpr
> > et
> > er.java:137)
> >        at
> > org.apache.jmeter.util.BeanShellInterpreter.set(BeanShellInterpreter.j
> > av
> > a:162)
> >        at
> > org.apache.jmeter.assertions.BeanShellAssertion.getResult(BeanShellAss
> > er
> > tion.java:111)
> >        at
> > org.apache.jmeter.threads.JMeterThread.checkAssertions(JMeterThread.ja
> > va
> > :428)
> >        at
> > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:285)
> >        at java.lang.Thread.run(Unknown Source)
> >
> > 2005/04/20 14:43:31 ERROR - jmeter.threads.JMeterThread: Test failed!
> > org.apache.jorphan.util.JMeterError: Error invoking bsh method set
> >        at
> > org.apache.jmeter.util.BeanShellInterpreter.bshInvoke(BeanShellInterpr
> > et
> > er.java:145)
> >        at
> > org.apache.jmeter.util.BeanShellInterpreter.set(BeanShellInterpreter.j
> > av
> > a:162)
> >        at
> > org.apache.jmeter.assertions.BeanShellAssertion.getResult(BeanShellAss
> > er
> > tion.java:111)
> >        at
> > org.apache.jmeter.threads.JMeterThread.checkAssertions(JMeterThread.ja
> > va
> > :428)
> >        at
> > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:285)
> >        at java.lang.Thread.run(Unknown Source) Caused by:
> > java.lang.IllegalArgumentException
> >        at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > Source)
> >        at java.lang.reflect.Method.invoke(Unknown Source)
> >        at
> > org.apache.jmeter.util.BeanShellInterpreter.bshInvoke(BeanShellInterpr
> > et
> > er.java:137)
> >        ... 5 more
> >
> > Waht version of BeanShell have I to use?
> > Thank you
> > Luigi Quitadamo
> >
> > ---------------------------------------------------------------------
> > 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


Mime
View raw message