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 Thu, 01 Dec 2011 10:23:26 GMT
Nermin,

If i use a loop & the child to that would be a HTTP request.

Will it not post each loop.

-Cheers

On Thu, Dec 1, 2011 at 10:21 AM, Shaba K <shabazia09@gmail.com> wrote:

> Not sure if i have understood you.
>
> These values been fetched are dynamic.
>
> If we concatenate we need to know how many variables we are passing ..
>
> I may sound silly ... but am lost
>
> Cheers
>
>
> On Wed, Nov 30, 2011 at 11:47 AM, Nermin CALUK <nermin@atlantbh.com>wrote:
>
>> Depending on what you need:
>>
>> - You use loop and ${evalVar()} when you want to loop through all matched
>> occurrences
>> - If you need to concatenate these values, simply use
>> ${VAR1}${VAR2}${VAR3}
>> (without spaces)
>>
>> Nermin
>>
>> -----Original Message-----
>> From: Shaba K [mailto:shabazia09@gmail.com]
>> Sent: Wednesday, November 30, 2011 10:47 AM
>> To: JMeter Users List
>> Subject: Re: For Each Controller
>>
>> Hi All,
>>
>> Here's how my reg ex looks
>>
>> GET_EVENT_ID_1=175213
>> GET_EVENT_ID_1_g=1
>> GET_EVENT_ID_1_g0=packageInfo_175213">
>> GET_EVENT_ID_1_g1=175213
>> GET_EVENT_ID_2=175225
>> GET_EVENT_ID_2_g=1
>> GET_EVENT_ID_2_g0=packageInfo_175225">
>> GET_EVENT_ID_2_g1=175225
>> GET_EVENT_ID_3=175237
>> GET_EVENT_ID_3_g=1
>> GET_EVENT_ID_3_g0=packageInfo_175237">
>> GET_EVENT_ID_3_g1=175237
>> GET_EVENT_ID_4=175249
>> GET_EVENT_ID_4_g=1
>> GET_EVENT_ID_4_g0=packageInfo_175249">
>> GET_EVENT_ID_4_g1=175249
>> GET_EVENT_ID_matchNr=4
>>
>>
>> my for loop - INPUT var  - GET_EVENT_ID
>> OUTput  var = EVENT_ID
>>
>> Debug sampler shows the value being fetched is correct.
>>
>> I have to build all that is found in the one highlighted & send as
>> parameters for the next request ??
>>
>> i can't add in for loop & a request ... can some guide on this please
>>
>> -Shabana
>>
>> On Tue, Nov 29, 2011 at 4:31 PM, Shaba K <shabazia09@gmail.com> wrote:
>>
>> > Hi All,
>> >
>> > I have a problem with teh for each controller looping in.
>> >
>> > there is a webpage,which has images generated
>> >
>> > the html snippet looks like
>> >
>> > <input id="select_175213" type="checkbox" disabled="disabled" value="
>> > 175213" name="eventInTopPackage[175213]">
>> > <input type="hidden" value="175213" name="eventInTopPackage[175213]">
>> > <img id="packageInfoImage_175213" width="70" height="39" src="
>> > /static/images/default-205x115-ticket.png" title="Test sub event static
>> > plan" alt="Test sub event static plan
>> >
>> > now i have to get the id's that are associated  & then after retrieving
>> > all id's from all the images generated i have to send these parameters
>> as
>> > post http data.
>> >
>> > Can some one please suggest how to go about.
>> >
>> > my Test script looks like.
>> >
>> > Test Plan.
>> > +Config Elements (CSV,UDV)
>> > +Thread Group
>> > ++http smapler
>> > ++httpsampler
>> > ++for each controller   - > i don't want the for each to post each id.
>> (If
>> > i read the file from a CSV file.)
>> > +++httpsampler
>> >
>> >
>> > Your input helps.
>> >
>> > -Shaba
>> >
>>
>>
>> ---------------------------------------------------------------------
>> 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