Thank you for answer but we missunderstood each other, mine RE was allready a
child of the request.
Btw problem solved:
I replaced Default value with: ${request_id} and its working :)
Thank you anyway.
sebb-2 wrote:
>
> On 04/10/2007, Sova <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/regular-expression-extractor-question-tf4568210.html#a13040112
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]