jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Saving the reply in Jmeter
Date Thu, 11 Aug 2011 15:34:19 GMT
On 11 August 2011 16:26, Bruce Ide <flyingrhenquest@gmail.com> wrote:
> Using regexps seems to always boil down to debugging a regexp expression to
> have it give you what you want. First of all, check the response of whatever
> the regexp is attached to, in order to verify that it is, in fact, returning
> what you think you're looking for.
>
> If it is, then I usually find it helpful to start paring stuff off my
> regular expression until it works. You never know what the regexp isn't
> going to like. Set it up to match promiscuously, perhaps just (.*) to start
> and then start adding things until it breaks. Then look at why it's breaking
> on what it is.
>
> I always prefer the xpath extractor over the regexp extractor when I can use
> it, as it takes much less fiddling to make it work. Usually with the xpath
> extractor I just need to remember to click "use tidy" and I'm good.

JMeter 2.4 has a regex tester built into the Tree View Listener.

> --
> Bruce Ide
> FlyingRhenquest@gmail.com
>

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