jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: BeanShell PostProcessor and ArrayList<String> issue
Date Thu, 26 Sep 2013 15:53:52 GMT
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


Mime
View raw message