On 03/11/2008, Jose Pablo Sarco <[EMAIL PROTECTED]> wrote: > Yeah, its work with a number....the problem that I have is when the name of > the field has the same chars that the value that I need... > > Example: > > Field Name: Name > Value: Da Silva > > The regular expression extracts both: > > Name= Name Da Silva > > > I used this regular expression extractor: > > Reference name: Name > RE: (\w*\W?\w*) > Template: $2$ > Match No: 0 > Default: > > > It's ok the regular expression extractor? >
No - there is no group 2, so $2$ will be empty. You need something like: Reference name: Name RE: (?m)Name\s+(^.+) Template: $1$ Match No: 1 Default: NOT_FOUND You can test this here: http://jakarta.apache.org/oro/demo.html > > -----Original Message----- > From: Andrey Beznogov [mailto:[EMAIL PROTECTED] > Sent: Sábado, 01 de Noviembre de 2008 05:20 a.m. > To: JMeter Users List > Subject: Re: JDBC Request- It's possible extract fileds values? > > Hi, > > you probably used "\d*" as regexp and "$1$" as template - in that case > the regexp will be found but no group will be extracted. > > If that is what you did, change regexp/template to "(\d*)"/"$0$" OR > "(\d*)"/"$1$" to correctly extract the found value. > > If that is not the case, please submit the full configuration of your > Regular Expression Extractor controller. > > Regards, > Andrey > > 2008/10/31 Jose Pablo Sarco <[EMAIL PROTECTED]>: > > Hi all, > > > > > > > > I need extract some values from a response message to a JDBC request.... > > > > In the response message I have: > > > > > > > > Field name > > > > Value1 > > > > > > > > I only need the Value from the response, but I can't use a Regular > > expression extractor, doesn't work .....I put the regular expression \d* > > to extract the value 10005 and I get a null value. > > > > > > > > Any idea to solve this? > > > > > > > > Regards, > > > > > > > > Jose > > > > > > > > > > > > > > > ################################################################################################################# > > Este documento puede incluir información confidencial y propiedad de > Neoris y deberá ser leído solamente por la > > o las personas a quienes está dirigido. Si usted ha recibido este mensaje > por error, por favor avise > > inmediatamente al remitente contestando y eliminando este correo. > Cualquier punto de vista u opiniones expresadas > > en este mensaje son del remitente y no necesariamente coinciden con > aquellas de Neoris. Este documento no deberá > > ser reproducido, copiado, distribuido, publicado, ni modificado por > terceros sin la autorización por escrito de Neoris. > > > > Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com. > > > ################################################################################################################# > > > > > > -- > diem perdidi > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > ################################################################################################################# > Este documento puede incluir información confidencial y propiedad de Neoris > y deberá ser leído solamente por la > o las personas a quienes está dirigido. Si usted ha recibido este mensaje > por error, por favor avise > inmediatamente al remitente contestando y eliminando este correo. Cualquier > punto de vista u opiniones expresadas > en este mensaje son del remitente y no necesariamente coinciden con aquellas > de Neoris. Este documento no deberá > ser reproducido, copiado, distribuido, publicado, ni modificado por terceros > sin la autorización por escrito de Neoris. > > Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com. > > ################################################################################################################# > > > --------------------------------------------------------------------- > 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]

