Actually the regex was right, the problem was the group interpretation by
the Post Processor, i set the "template" field as $2$, but the right
statement supposedly to be 1.

I guess, JMeter interpret the regex like Mahesh said and Jean complete, "the
interesting result is in the first sub-group"

That's it, thanks for all guys.
[]'s

On Wed, Jan 6, 2010 at 1:11 PM, sebb <[email protected]> wrote:

> On 06/01/2010, Evandro Grezeli <[email protected]> wrote:
> > humm, even validated the regex with ORO, it seems fine. But running the
> same
> >  regex in JMeter i keep getting the default msg when it doesn't find the
> >  match...
>
> The fact that you get the default means that the RE element is being run.
> However, it could be that it is being run on the wrong sample result -
> remember that PostProcessors run on all samples in scope.
>
> To double-check the test plan, try adding
>
> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Save_Responses_to_a_file
> immediately after the RE P-P.
>
> You can then use the contents of the file to double-check the RE, and
> if the Listener generates more than 1 file, you'll know that there are
> multiple samples in scope.
>
> >  On Wed, Jan 6, 2010 at 12:20 PM, <[email protected]
> >wrote:
> >
> >
> >  >  To complete what Mahesh said, the interesting result is in the second
> >  > group
> >  > ( or first sub-group).
> >  >
> >  >
> >  >
> >  > Cordialement / Best regards
> >  >
> >  > Jean-Louis Pasturel
> >  >
> >  >
> >  >
> >  > -----Message d'origine-----
> >  > De : mahesh kumar [mailto:[email protected]]
> >  > Envoyé : mercredi 6 janvier 2010 15:07
> >  > À : JMeter Users List
> >  > Objet : Re: Regex Help need!
> >  >
> >  > Use this one
> >  >
> >  > oProtocolo\.value\s+=\s+\'(.*?)\'
> >  >
> >  > --Mahesh
> >  >
> >  > On Wed, Jan 6, 2010 at 7:33 PM, Evandro Grezeli
> >  > <[email protected]>wrote:
> >  >
> >  > > The point is:
> >  > >
> >  > > I have to get those 15 numbers presented in the oProtocolo.value
> >  > > string. So the regex it's suposse to get all the number
> "000001000790535"
> >  > >
> >  > >
> >  > >
> >  > > On Wed, Jan 6, 2010 at 12:01 PM, Rodrigo Madera
> >  > > <[email protected]
> >  > > >wrote:
> >  > >
> >  > > > I'm sorry, but isn't it a number already? Confused.
> >  > > >
> >  > > > On Wed, Jan 6, 2010 at 11:59 AM, Evandro Grezeli
> >  > > > <[email protected]>wrote:
> >  > > >
> >  > > > > Only the number value!
> >  > > > >
> >  > > > > On Wed, Jan 6, 2010 at 11:39 AM, Rodrigo Madera <
> >  > > > [email protected]
> >  > > > > >wrote:
> >  > > > >
> >  > > > > > Careful, you just gave you Brazilian social security number to
> >  > > > > > the
> >  > > > > world...
> >  > > > > >
> >  > > > > > What do you mean by "decimals present in" 000001000790535?
> >  > > > > >
> >  > > > > > Regards,
> >  > > > > > Madera
> >  > > > > >
> >  > > > >
> >  > > > >
> >  > > > >
> >  > > > > --
> >  > > > > Atenciosamente
> >  > > > > Regards
> >  > > > > Evandro Grezeli de B. Neves
> >  > > > >
> >  > > >
> >  > >
> >  > >
> >  > >
> >  > > --
> >  > >  Atenciosamente
> >  > > Regards
> >  > > Evandro Grezeli de B. Neves
> >  > >
> >  >
> >  >
> >  >
> >  > *********************************
> >  > This message and any attachments (the "message") are confidential and
> >  > intended solely for the addressees.
> >  > Any unauthorised use or dissemination is prohibited.
> >  > Messages are susceptible to alteration.
> >  > France Telecom Group shall not be liable for the message if altered,
> >  > changed or falsified.
> >  > If you are not the intended addressee of this message, please cancel
> it
> >  > immediately and inform the sender.
> >  > ********************************
> >  >
> >  >
> >  > ---------------------------------------------------------------------
> >  > To unsubscribe, e-mail: [email protected]
> >  > For additional commands, e-mail: [email protected]
> >  >
> >  >
> >
> >
> >
> > --
> >
> > Atenciosamente
> >  Regards
> >  Evandro Grezeli de B. Neves
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Atenciosamente
Regards
Evandro Grezeli de B. Neves

Reply via email to