sebb wrote: > On 27/07/06, Chris Hansen <[EMAIL PROTECTED]> wrote: >> My name is Chris Hansen; nice to meet you! >> >> I'm working for the first time with Jmeter and while I've got most of >> what I need from the website and wiki, I have a case I can't quite >> figure out how to make work and I was wondering if you knew how to do it >> or if you had a ready reference you could refer me to. >> >> I've been using the Regular Expression Extractor from the Post >> Processors and it works fine for me except in one case. My regular >> expression matches in two places in the returning XML where I need it to >> match in one. > > Surely that is not a problem - just choose the appropriate match, either > 1 or 2? > >> <CAPs> >> <CAP> >> <Keys> >> <Key>KEY1</Key> >> <Key>KEY2</Key> >> <Key>KEY3</Key> >> </Keys> >> ... >> <Parcels> >> <Parcel> >> <CAPs> >> <CAP> >> <Keys> >> <Key>KEY1</Key> >> <Key>KEY2</Key> >> <Key>KEY3</Key> >> </Keys> >> ...
Sorry, I wasn't very clear there was I. It is actually a list of CAPs and each CAP can have a list of Parcels which in turn can have a list of attached CAPs. The application won't recurse beyond that, but what I need to get is the Keys element out of the CAP list, but not include the Keys element out of the CAPs attached to the Parcels. thanks! chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]