jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ryo_s...@filemaker.com (Ryo Sode)
Subject Re: Regular Expression Extractor?
Date Tue, 27 Jan 2004 19:54:36 GMT

Hi guys,

Thanks for the help. It works very well. =)

Ryo

> It would be safer to use:
> 
> <def name=(.*?) />
> 
> i.e. make the expression non-greedy.
> 
> S.
>> -----Original Message-----
>> From: prabhu varma [mailto:prabhuvarma1@yahoo.com]
>> Sent: 27 January 2004 05:22
>> To: JMeter Users List
>> Subject: Re: Regular Expression Extractor?
>> 
>> 
>> 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 <ryo_sode@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!
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 

--------
Ryo Sode
SQA Lead Engineer
Internet Division
FileMaker Inc.
TEL 408.987.7500
AIM ScreenName: ryosode



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


Mime
View raw message