You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Tseitlin, Gary" <Ga...@ca.com> on 2004/04/28 07:05:45 UTC

Regular expression extractor

Hello Michal,

I can see that you are real expert in JMeter.

I am trying to run scripts, where I need to pick up request based on its
id.

In the received page I expect something like 
"etawID=19ab:fc2e753328:53fb57,ou=etawapprovals,o=etawfdb,c=US"

So I am using regular expression extractor

As follows

Reference name:		rqst_id
Regular expression:	etawID=(/D*)
Template:			$1$
Match:			1

And as reference to parsed value I am using ${rqst_id}

Still my value is not appears where I want it

Please help
Thank you very much in advance
Gary

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


Re: Regular expression extractor

Posted by Craig Palmer <cr...@peace.com>.
\D  Match a non-digit character so your regular expression is your 
problem. The first character after the equals is a digit so it will 
never match.

Craig.

Tseitlin, Gary wrote:

>Hello Michal,
>
>I can see that you are real expert in JMeter.
>
>I am trying to run scripts, where I need to pick up request based on its
>id.
>
>In the received page I expect something like 
>"etawID=19ab:fc2e753328:53fb57,ou=etawapprovals,o=etawfdb,c=US"
>
>So I am using regular expression extractor
>
>As follows
>
>Reference name:		rqst_id
>Regular expression:	etawID=(/D*)
>Template:			$1$
>Match:			1
>
>And as reference to parsed value I am using ${rqst_id}
>
>Still my value is not appears where I want it
>
>Please help
>Thank you very much in advance
>Gary
>
>---------------------------------------------------------------------
>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