jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shaba K <shabazi...@gmail.com>
Subject Re: For Each Controller
Date Fri, 02 Dec 2011 16:19:11 GMT
int count = Integer.parseInt(vars.get("GET_EVENT_ID_matchNr"));
for(int i=1;i<=count;i++)
 { //regex counts are 1 based
         sampler.addArgument("event_id", vars.get("GET_EVENT_ID_" + i));
}


my http  post should be like this ...

eventInTopPackage[${event_id}] = ${event_id}
and other parameters ...

On Fri, Dec 2, 2011 at 4:10 PM, Felix Frank <ff@mpexnet.de> wrote:

> On 12/02/2011 04:31 PM, Shaba K wrote:
> > But Parameters to be sent with request is formed like this
> >
> > eventInTopPackage[${sub_pack_event_id_1}] = ${sub_pack_event_id_1}
>
> How is this problematic?
>
> What exactly does your BeanShellPreProcessor look like now?
>
> Cheers,
> Felix
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message