Sudheer,

You will need a Regular Expression Extractor for each of the four variables. 
For each of the four, you would set the Regular expression to (\d) (\d) (\d) 
(\d). 

Then, in the first extractor, you would set:
        Reference Name to OID1
        Template to $1$
        Match No. 1 (if you just want the first match, 0 if you want a random 
match from the page)
        Default Value: Something that tells you that you didn't find anything

On the second extractor:
        Reference Name: OID2
        Template: $2$

And similarly for the third and fourth.

I hope this helps.

Steve Eckhart
Business Analyst/Project Manager
 
WAUSAU Financial Systems
14010 FNB PKWY STE500
Omaha, NE 68154-5206

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: sudheer reddy [mailto:gsudheer...@gmail.com] 
Sent: Monday, May 03, 2010 5:35 AM
To: jmeter-user@jakarta.apache.org
Subject: Help needed for regular expression extractor

Hi All

I need help for regular expression extractor and my scenarios is as follows

using sql query  I got 4 values ( numeric  for eg 3456789  4567891 3421364
 8412356 all valueas are seperated by a space)

for this JDBC request i have associated  post proecessor ( regular
expression extractor )  and I have to assign  these  values to the variables
defined in my test plan say OID1,OID2,OID3,OID4 .

Can any one tell me how to declare these variable names in the  refernce
name and syntax of the regular expression in the regular expression
extractor  associated to the JDBC request .

or if any better solution can u pls share

Thanks in advance


rgds
Sudheer

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

Reply via email to