Hi,

Please try (\d+\w) regex for extraction.

Thanks and Regards

Suvendu Kumar mohapatra


-----Original Message-----
From: George Barnett [mailto:[email protected]]
Sent: Thursday, February 12, 2009 12:56 PM
To: JMeter Users List
Subject: Matching an entire response using the regex post-processor

Hi,

I have a HTTP sampler which performs a get onto a page.  The response
is a binary word document attachment.

I'd like to PUT this back up onto the server, but need to easily
extract it.  So far, I'm having no problem with the PUT - I'm using a
parameter without a name, but I'm having problems extracting the whole
response body.  For example, one response is about 281K.  I'm using
the following pattern to match it:

(?m)(.*)

This however is only matching the first 2K or there about.

Could somebody suggest a regex that would work to match the entire
output, or maybe there's a better way to do this?

Is there perhaps a variable I can get my hands on that has the
response body?

George


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to