If we assume the data to be matched is:
"etawID=19ab:fc2e753328:53fb57,ou=etawapprovals,o=etawfdb,c=US"
Expression Comment
---------- -------
etawID=(/D*) Will not match - /D* means match / followed by zero or more
D's
etawID=(\D*) Will not match - \D means non-digit
etawID=(\d*) Will match 19
etawID=([^,]+) Will match 19ab:fc2e753328:53fb57
- i.e. up to but no including the ","
There's quite a bit of documentation in the JMeter FAQ on regular
expresssions.
S.
-----Original Message-----
From: Craig Palmer [mailto:[EMAIL PROTECTED]
Sent: 28 April 2004 06:24
To: JMeter Users List
Subject: Re: Regular expression extractor
\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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
___________________________________________________________________________
This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail in
error, please notify the sender immediately and destroy it. As its integrity
cannot be secured on the Internet, the Atos Origin group liability cannot be
triggered for the message content. Although the sender endeavours to maintain
a computer virus-free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages resulting
from any virus transmitted.
___________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]