jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject Re: Saving the reply in Jmeter
Date Thu, 11 Aug 2011 15:34:19 GMT
On 11 August 2011 16:26, Bruce Ide <> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message