You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ryo Sode <ry...@filemaker.com> on 2004/01/27 04:08:00 UTC
Regular Expression Extractor?
Can someone help?
I'm trying to extract a value from an HTTP response body and use it towards
my next HTTP sampler request. To be more specific, I am trying to extract an
attribute from a response XML document.
Can someone show me the regular expression to do this? For example, how do I
extract "ghi" from the the following XML
<abc>
<def name="ghi"/>
</abc>
I realize it's a dumb question, but please help!!
Ryo
---------------------------------------------------------------------
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 prabhu varma <pr...@yahoo.com>.
Hi Ryo,
If You want to match the string �ghi� in your given example, just give reg exp as
<def name=(.*) /> Hope it helps you, otherwise could you more elaborate your example.
Thanks
Prabhu
Ryo Sode <ry...@filemaker.com> wrote:
Can someone help?
I'm trying to extract a value from an HTTP response body and use it towards
my next HTTP sampler request. To be more specific, I am trying to extract an
attribute from a response XML document.
Can someone show me the regular expression to do this? For example, how do I
extract "ghi" from the the following XML
I realize it's a dumb question, but please help!!
Ryo
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!