I use the following regex for saving a 32 char token to use on the next
request:
[0-9a-zA-Z]{32}
Your could be:
[0-9]{20}
However, I am having trouble getting [0-9a-zA-Z]{32} to work on the
following xmlHTML response:
<message>
success
<token>14414e80d69a4d6890c89817ada3b0c4</token>
</message>
I'm thinking it is because of the non HTML response.
Any suggestions?
Mitchell White
Atone Inc
2880 Sunrise Blvd suite 121
Rancho Cordova, CA 95742
-----Original Message-----
From: Raffaele Viola [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 6:54 AM
To: JMeter Users List
Subject: Re: Cant get Regular Expression working
Hi all,
can you gife me all the regular expression that you use
Thanks a lot!!!!
-raffo
2006/1/18, sebb <[EMAIL PROTECTED]>:
>
> On 18/01/06, Steve Gilbert <[EMAIL PROTECTED]> wrote:
> > Thanks soo much Sebb,,
> >
> > Not sure why it works,, but it does!!
>
> http://wiki.apache.org/jakarta-jmeter/RegularExpressions
>
> and
>
>
>
http://jakarta.apache.org/oro/api/org/apache/oro/text/regex/package-summ
ary.html
> > -----Original Message-----
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: 18 January 2006 14:37
> > To: JMeter Users List
> > Subject: Re: Cant get Regular Expression working
> >
> > On 18/01/06, Steve Gilbert <[EMAIL PROTECTED]> wrote:
> > > Hi All,,
> > >
> > > Afraid I'm another Newbie..
> > >
> > > Below is an extract from a response I get,,, I am trying to
retrieve
> > the
> > > 20 digit number in the middle...
> > >
> > > <td class="PROMPTBLACK" width="20%">Response Status</td>
> > > <td class="PROMPTBLACK" width="80%">
> > > SUCCESS
> > >
> > > </td>
> > > </tr>
> > > <tr>
> > > <td class="PROMPTBLACK">Response Reference</td>
> > > <td class="PROMPTBLACK">
> > > 81119732751598721488
> > >
> > > </td>
> > > </tr>
> > > <tr>
> > > <td class="PROMPTBLACK">Response Data</td>
> > > <td class="PROMPTBLACK">
> > >
> > > I have tried several regular expressions,, but don't seem to be
able
> > to
> > > get the number back..
> >
> > What have you tried then?
> >
> > >
> > > Can anyone help please!?!?
> >
> >
> > Try:
> >
> > (\d{20})
> >
> >
---------------------------------------------------------------------
> > 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]
> >
> >
>
> ---------------------------------------------------------------------
> 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]