I did change the template to $1$. 
The NumberFormatException is for the variable ${confID}.
I did try changing the regular expression to javascript:meetingInfo\((\d+),
(.+)\) to make sure the second group doesn't create any problem but with no
use.

Padma.


Aycock, Glenn W. (JSC-IS)[TES] wrote:
> 
> Well, since you said you need to extract '143395745', that would be the
> first grouping, or $1$, not $2$. I suspect the NumberFormatException is
> because  the size of the number represented ('1162305900000') might be
> larger than the data type can accept.
> 
> -----Original Message-----
> From: Padma [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 31, 2006 2:45 PM
> To: [email protected]
> Subject: RE: Regular Expression Extractor
> 
> 
> 
> How are the variables represented - strings?
> I get a NumberFormatException when I pass the variable to another HTTP
> sampler in the request.
> I changed the regular expression to javascript:meetingInfo\((\d+),
> (\d+)\) But it doesn't help.
> 
> -Padma
> 
> 
> Aycock, Glenn W. (JSC-IS)[TES] wrote:
>> 
>> You need to escape the original () like this: 
>> 
>> javascript:meetingInfo\((.+?), (.+?)\)
>> 
>> Glenn
>> 
>> -----Original Message-----
>> From: Padma [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, October 31, 2006 2:09 PM
>> To: [email protected]
>> Subject: Regular Expression Extractor
>> 
>> 
>> I have a response like this:
>> javascript:meetingInfo(143395745, 1162305900000)
>> 
>> JMeter Test Plan for MC                                       
>> 
>> I need to extract '143395745' from it
>> 
>> I tried the following:
>> Reference Name : - confID
>> Regular Expression :-  javascript:meetingInfo((.+?), (.+?))
>> 
>> JMeter Test Plan for MC                                       
>> Template :- $2$
>> Match No :- 1
>> 
>> But the variable is not populated correctly.
>> 
>> If I assign the Regular Expression Extractor post processor to a HTTP 
>> sampler, can I use the variable ${confID} in a subsequent HTTP sampler
> 
>> request?
>> 
>> But
>> --
>> View this message in context:
>> http://www.nabble.com/Regular-Expression-Extractor-tf2548121.html#a710
>> 16
>> 83
>> 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-tf2548121.html#a71023
> 02
> 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-tf2548121.html#a7102713
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