Try the RE

Customer Id for the existing record is (\d+)

and template

$1$

On 28/07/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,

Yes you are right. You need to use Post-Processor Regular Expression
Extractor to extract the value. You can try (\D)(\w*)(\D)..though im not
sure. Set the template "$2$". You can refer user manual.

Chinmoy





"Sen, Kakoli" <[EMAIL PROTECTED]>
28-07-06 15:56
Please respond to
"JMeter Users List" <[email protected]>


To
"JMeter Users List" <[email protected]>
cc

Subject
Extraction of data from HTTP response.






Hi all,
  Am relatively new to JMeter. Using version 2.2.
From an HTTPResponse, I have to extract the custId which comes in HTML
body like this :
<b>Customer data already exists. Customer Id for the existing record is
1097 </b>
I have to extract 1097 and set it to a variable to be used in a subsequent
HTTPrequest.
Can I use the Regular Expression Extractor?
If so, what exactly I have to specify? I am not conversant with Perl.

Thanks in advance,
Kakoli

---------------------------------------------------------------------
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]

Reply via email to