You may need to use a Bean Shell script to loop through the full result and 
find as many IDs as possible.  You might also be able to use the XPath 
Extractor 
(http://jakarta.apache.org/jmeter/usermanual/component_reference.html#XPath_Extractor)
 to retrieve all of the IDs.

Steve Eckhart
Business Analyst/Project Manager

WAUSAU Financial Systems
14010 FNB PKWY STE500
Omaha, NE 68154-5206
Email: [email protected]
 
Enterprise Payment Solutions.
CONFIDENTIALITY NOTICE:  This electronic transmission (including files attached 
hereto) is intended only for the use of the individual or entity named above.  
If the reader of this message is not the intended recipient, you are hereby 
notified that any disclosure, dissemination, copying, distribution or taking of 
any action in reliance on the contents of this confidential information is 
strictly prohibited.  If you have received this communication in error, please 
destroy it and immediately notify us by return email.  Thank you.



-----Original Message-----
From: Felix Frank [mailto:[email protected]] 
Sent: Friday, July 16, 2010 5:09 AM
To: JMeter Users List
Subject: Re: Help needed regarding Jmeter JDBC request

In
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor
be mindful on the MatchNo. entry.

To extract multiple values with one Extractor, the pattern you propose
would be more appropriate. I don't see a way to retrieve an arbitrary
number of matches, though. One should think that the Foreach Controller
made such things possible, but I don't know how that would work (and it
probably doesn't).

Cheers
Felix

On 07/16/2010 11:58 AM, Nithya Prakash wrote:
> Thanks Felix
> 
> Regarding your reply, you mean to say we have to use
> (\d+)(\d+)(\d+)(\d+)(\d+)(\d+)(\d+) for the ID's to be fetched??
> 
> But for cetain things i can use coz i know how many ID the DB is
> fetching.... In the case where i don't know how many ID's will be fetched
> from the DB what is the way out??

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to