Nevermind, I just had to put it under the desired HTTP sampler (where I want
to pick up the variable) and not directly under the Thread.

Ryo

> Is there any way or any regular expression so that the last non-zero match
> that was picked up by the Regex Extractor instead of the match from the last
> sample (which in my case is mostly zero).
> 
> So for example, I have this:
> 
> HTTP Request 1:
> Response includes "current_id = 5"
> 
> HTTP Request 2:
> Response includes some random text and no current_id
> 
> Request 3:
> I would like to use the id from Request 1 here (which is 5) in constructing
> the HTTP request here. Something like this:
> http://host/application?-current_id=5&-do_something
> 
> As you may be able to tell, the current id is not always 5 and Regex
> Extractor wipes out the id from the first request after the second request
> is executed.
> 
> Any help is appreciated. Thanks.
> 
> Ryo 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to