No It doesn't work. 

Thanks and thanks for letting me know the URL for regular expressions. I am
trying to get it with different regular expressions, hopefully I can get it.

Thanks,
  Tiffany

===

sebb-2 wrote:
> 
> Try:
> 
> (?s)name="userID" value="(\d+)">\s*<input type="hidden"
> name="userName" value="User 1">
> 
> See:
> 
> http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html
> 
> 
> On 16/05/07, tiffany <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I need to use a regular expression extractor to get my USERID, it works
>> fine
>> if I know how many users are already there as I know what number should I
>> put to the match field. The problem comes up as the number of users are
>> not
>> regular each time, so it doesn't work anymore.
>>
>> Does anybody know how can I solve this problem? My jsp page contains like
>>
>>  <input type="hidden" name="userID" value="10">
>>  <input type="hidden" name="userName" value="User 1">
>>
>> The regular expression that I use to get the userID is "name="userID"
>> value="([0-9]+)".
>>
>> Now I can a series of userID by the above regular expression, but how can
>> I
>> tell the Jmeter I want to get the userID where the "userName=User1" ? or
>> tell the Jmeter to get the last userID?
>>
>> Tiffany
>> --
>> View this message in context:
>> http://www.nabble.com/Regular-Expression-Extractor-tf3765324.html#a10644243
>> 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-tf3765324.html#a10648719
Sent from the JMeter - User mailing list archive at Nabble.com.


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

Reply via email to