jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Caccia <gacac...@yahoo.com>
Subject Re: BeanShell PostProcessor and ArrayList<String> issue
Date Thu, 26 Sep 2013 17:08:07 GMT


I wasn't familiar with that option.  I'll look into it.  Thanks!



________________________________
 From: UBIK LOAD PACK Support <support@ubikloadpack.com>
To: JMeter Users List <user@jmeter.apache.org> 
Sent: Thursday, September 26, 2013 9:55 AM
Subject: Re: BeanShell PostProcessor and ArrayList<String> issue
 

Hello,
Why not use JSR223 + Groovy , it will support JDK5 syntax and Groovy great
features.
It will also be much better in terms of performances.



-- 

Regards
Ubik Load Pack <http://ubikloadpack.com> Team
Follow us on Twitter <http://twitter.com/ubikloadpack>
@ubikloadpack

Cordialement
L'équipe Ubik Load Pack <http://ubikloadpack.com>
Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>
@ubikloadpack

On Thu, Sep 26, 2013 at 5:53 PM, sebb <sebbaz@gmail.com> wrote:

> On 26 September 2013 16:38, Glenn Caccia <gacaccia@yahoo.com> wrote:
> > I'm trying to make use of ArrayList<String> in a BeanShell
> PostProcessor.  Is this possible?  I get an error with the following code...
> >
> > import java.util.ArrayList;
> >
> > sessions = new ArrayList<String>();
> >
> >
> > Error is...
> >
> > ERROR - jmeter.util.BeanShellInterpreter: Error invoking bsh method:
> eval    In file: inline evaluation of: ``import java.util.ArrayList;
>  sessions = new ArrayList<String>();   //sessions =  . . . '' Encountered
> "<" at line 3, column 25.
>
> BeanShell does not support Java 5 generics.
>
> > Thanks,
> >
> > Glenn
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>
<http://twitter.com/ubikloadpack>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message