On 06/10/2008, Jose Pablo Sarco <[EMAIL PROTECTED]> wrote:
> Yeah; I need the value in that position...in the example is 8710; but the 
> number change each time Jmeter run....
>
>  I created this regular expression:
>
>  [*?\"][0-9][0-9][0-9][0-9]"
>
>  I tested it on http://regexlib.com/RETester.aspx and the result is that I 
> need; but Jmeter set empty (null) the reference name....I don't Know which is 
> the problem....

JMeter uses ORO; there is an ORO tester here:

http://jakarta.apache.org/oro/demo.html

>  I tried with the expression that you sent me and the value set is " "...
>
>  I will try with other...but I don't know If I'm loosing something...
>
>  Thanks!!
>
>
>
>
>  -----Original Message-----
>  From: Himanshu Ghai [mailto:[EMAIL PROTECTED]
>
> Sent: Lunes, 06 de Octubre de 2008 04:35 p.m.
>  To: JMeter Users List
>  Subject: Re: Which Regular Expression I need?
>
>  i put your text on apache root on my machine and tried it...this seems to
>  work for me
>  earlier one didnt work since it has a space after a.lang.String;/2364883620"
>
>  this isnt as intelligent as i thought but works for me
>
>  \[[^\[]+\["[^"]+", "[^\"]+","([^"]+)"
>
>  do you expect position of 8710 to change?
>
>  Thanks
>  Himanshu
>
>
>  2008/10/6 Himanshu Ghai <[EMAIL PROTECTED]>
>
>  > I am trying it :)...wait
>  >
>  >
>  > 2008/10/6 Jose Pablo Sarco <[EMAIL PROTECTED]>
>  >
>  >> Thanks for answer :).
>  >>
>  >>
>  >> I tried adding that Regular Expression, but I don't have any result...
>  >>
>  >>
>  >> The variable is empty......
>  >>
>  >> I don't know which expression I need....
>  >>
>  >>
>  >>
>  >> -----Original Message-----
>  >> From: Himanshu Ghai [mailto:[EMAIL PROTECTED]
>  >> Sent: Lunes, 06 de Octubre de 2008 03:51 p.m.
>  >> To: JMeter Users List
>  >> Subject: Re: Which Regular Expression I need?
>  >>
>  >> try \[[^\[]+\[("[^"]+",){3}
>  >>
>  >> what it does is starts with a [  runs on until it finds [ then starts
>  >> grouping the characters inside ""..you might need to modify a bit..
>  >>
>  >> Himanshu
>  >>
>  >> 2008/10/6 Jose Pablo Sarco <[EMAIL PROTECTED]>
>  >>
>  >> > I need to extract the value '8710' from the Message Response described
>  >> > below to send it in the POST action; I use the Regular expression
>  >> extractor,
>  >> > but I don't know which Regular Expression I need to get it.
>  >> >
>  >> >
>  >> >
>  >> > Message Response:
>  >> >
>  >> > //OK[0,-23,0,-23,0,23,2,-23,0,22,2,15,2,21,2,20,2,19,2,-23,0,
>  >> > -23,-23,18,2,0,17,2,0,16,2,0,16,2,15,2,15,2,0,0,0,14,2,14,2,
>  >> > 13,2,14,2,14,2,13,2,0,12,2,0,11,2,10,2,0,9,2,0,8,2,0,7,2,0,0,
>  >> > 6,2,0,5,2,0,4,2,3,2,54,1,["[Ljava.lang.String;/2364883620",
>  >> > "java.lang.String/2004016611","8710","1","20","30","OVERSEAS",
>  >> > "India\x20y\x20Sudeste\x20Asiático","EMIRATOS\x20ARABES\x20UNIDOS",
>  >> > "YASER\x20KHAN","3","USL","0.0","100.0","10/01/2008","50000170",
>  >> >
>  >> 
> "58","","N","Nuevo\x20Gasto\x20(Estado\x20Inicial)","pepe","00071","COSTOOO"],0,3]
>  >> >
>  >> >
>  >> >
>  >> > Any idea?
>  >> >
>  >> >
>  >> >
>  >> > 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.
>  >> >
>  >> >
>  >> 
> #################################################################################################################
>  >> >
>  >>
>  >> 
> #################################################################################################################
>  >> 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]
>  >>
>  >>
>  >
>  
> #################################################################################################################
>  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]

Reply via email to