jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: regular expression extractor question
Date Thu, 04 Oct 2007 12:03:54 GMT
On 04/10/2007, Sova <petkosova@gmail.com> wrote:
>
> Hi there!
>
> Iam using regular expression extractor for extracting string (in this case
> mine string is 1660 ) to variable like this:
>
> Reference name:      request_id
> Regular expression:   name="requestID" value='([0-9]+)'
> Template:               $1$
> match No:               1
> Default Value:          REG_FAILED
>
>
> from response:
> <input readonly class="input_text readonly width_short_input" type="text"
> name="requestID" value='1660' />
>
> thats ok, then i use it in the next HTTP request and everythings looks fine,
> ${request_id} will be changed for my number from response.
>
> But in the next HTTP request i still want to use the same variable, but the
> response comes with Default value instead of mine string...
>
> scope looks like this:
>
> request
> regular expression extractor
> request    -  here is everything ok
> request    -  Default value :(
> request    -  Default value :(

Add the RE as a child of the request to which it applies.

>
> Where is the problem? Am i missing something?
> Sorry for bad english .
>
>
> --
> View this message in context: http://www.nabble.com/regular-expression-extractor-question-tf4568210.html#a13037967
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message