Re: JMeter variable has some limitation.

2005-05-03 Thread Dave Maung
>>Template: name=$1$&id=$2$ >>You then need to tell the HTTP Sampler not to encode the parameters >>nor add the equals, as you have already done it. >>If that does not work, try: >>Template: $1$&id=$2$ Thanks, Sebb. This is a clever way. I know what you are doing. I am sure it will work. I wil

Re: JMeter variable has some limitation.

2005-05-02 Thread sebb
On 5/2/05, Dave Maung <[EMAIL PROTECTED]> wrote: > Seb, > The scenario is very simple. > I have one request relie on last previous reponse. > > and previous reponse return following xml > > > > > > > > > > > I have to extract name and id attribute in paralle

Re: JMeter variable has some limitation.

2005-04-29 Thread sebb
The ForEach Controller looks at the variables inputVar_n (n=1,2,3...) and for each one it finds, sets returnVar to the contents. It stops when one of the variables is not defined. It does not set up returnVar1 or returnVar_g1 etc - only returnVar. I'm not clear what you are trying to do with the

Re: JMeter variable has some limitation.

2005-04-28 Thread Dave Maung
Thanks, sebb.   Random index seem to work. How about If I want to extract all the group value that I got from reg extractor within one loop.   I tried using foreachController and then ${returnVar_g1} ${returnVar_g2} doesnt seem to work. Is it because it is not currently supported? Or maybe I am d

Re: JMeter variable has some limitation.

2005-04-27 Thread sebb
Try the Regex Extractor with: RE: Template: $1$$2$ Index: -1 This will extract both parts as a single variable. You can also use refName_n_gm where n=1,2,3 (match number) m=0,1,2 = group number. 0 = whole text matched by RE Seems to me this does what you want. e.g refName_2_g2=item3 in t

JMeter variable has some limitation.

2005-04-26 Thread Dave Maung
I am trying to extract the following xml using regular expression I would like to extract "index" and "name" value within the same loop. I am not sure for each controller will be able to do it. It seem like you can only access one value index in one loop. ex in java code: for(int i=0;