Have you tried the page content in the ORO demo?

Note that the spacing is critical.

You may need to replace white-space in the RE with \s+ - or even \s*
if the space might be absent.

On 14/11/2007, Modha Khammammettu <[EMAIL PROTECTED]> wrote:
> Here is the page content
>
> <table cellpadding="0" cellspacing="0" border="0">
> <tr>
> <td width="9" height="1"><img src="images/trans_pixel.gif" width="4"
> height="4"/></td>
> <td><button smokeId="Add" onclick="Events.invokeEvent('5_290_act',
> true)" class="button">Add</button></td><td><button smokeId="Remove"
> onclick="Events.invokeEvent('5_291_act', true)" buttonFlags="all
> Removeable" class="button">Remove</button></td></tr>
> </table>
>
>
>
> -----Original Message-----
> From: Modha Khammammettu [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 14, 2007 9:08 AM
> To: JMeter Users List
> Subject: RE: Regular Expression -- Help
>
> Thanks
> I put it as $1$ only.
>
> When I put a default value as descr
> I get VehicleNumber: descr
>
> -----Original Message-----
> From: Ronan Klyne [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 14, 2007 9:00 AM
> To: JMeter Users List
> Subject: Re: Regular Expression -- Help
>
> Modha Khammammettu wrote:
> > Thanks
> > This works fine when I tried it in ORO demo.
> > But when I tried the same thing in Jmeter script and print it as Java
> > Request I get it as
> >
> > VehicleNumber: {${VehicleNumber} as result.
> > All other variables print just fine.
> >
> > I have the java request defined as follows
> >
> > Reference Name: VehicleNumber
> > RE: invokeEvent\('([^']+)', true\)" class="button">Add</button>
> > Template: 1$1
>
> ^ You had this right in your previous post - it should be: $1$
>
> > Match No : 1
> >
> > When I am printing using "Java Request" I set the label as
> > VehicleNumber: ${VehicleNumber}
> >
> >
> > When I run my test the output is
> > VehicleNumber: ${VehicleNumber}
> >
> > I expected
> > VehicleNumber: 5_290_act
> >
> > I saw the page content in view result tree, it has the string
> > invokeEvent('5_290_act', true)" class="button">Add</button>
> >
> > It is just happening with this particular variable.
> >
>
>
>
> --
> Ronan Klyne
> Business Collaborator Developer
> Tel: +44 (0)870 163 2555
> [EMAIL PROTECTED]
> www.groupbc.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]
>
>
> ---------------------------------------------------------------------
> 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