Try
id=(\d{3})
instead.
On 04/04/07, Hoffman, Matthew <[EMAIL PROTECTED]> wrote:
It looks like.
http://localhost/index.htm?id=206
------------------------------------
Concurrent Technologies Corporation
Matthew Hoffman
Software Engineer/CTCnet Project Manager/ISTQB Certified Tester
[EMAIL PROTECTED]
100 CTC Dr.
Johnstown, PA 15904
tel: 814-269-2528
------------------------------------
-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 04, 2007 11:23 AM
To: JMeter Users List
Subject: Re: General RegEx
What does the query string actually look like?
It cannot contain anything like:
name="id" value="206"
because spaces (and maybe quotes?) are not valid in query strings.
On 03/04/07, Hoffman, Matthew <[EMAIL PROTECTED]> wrote:
> This request doesn't pull from the form. It should get the ID from
the
> URL (queryString). I have the regex setup to get it from the URL with
> the specified format below. Any other way I can do this? I need that
> id put into a variable so I can use it further down in my script.
>
> Thanks
>
> ------------------------------------
> Concurrent Technologies Corporation
> Matthew Hoffman
> Software Engineer/CTCnet Project Manager/ISTQB Certified Tester
> [EMAIL PROTECTED]
> 100 CTC Dr.
> Johnstown, PA 15904
> tel: 814-269-2528
> ------------------------------------
> -----Original Message-----
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 03, 2007 12:49 PM
> To: JMeter Users List
> Subject: Re: General RegEx
>
> Works for me (copy+paste into Java Sampler and RE PP).
>
> Perhaps there are some additional spaces in the document?
>
> BTW, you could use \d instead of [0-9]
>
> S.
> On 03/04/07, Hoffman, Matthew <[EMAIL PROTECTED]> wrote:
> > Hi,
> > I am trying to use the reg expression for the following:
> >
> > name="id" value="206"
> >
> > I am using the below which passes all the regex validators that I
> have.
> > I have Token Not Found in the Default value and that is what I am
> seeing
> > in the actual request.
> >
> > name="id" value="([0-9]{3})"
> >
> > Let me know if there is something else that JMeter is looking for.
> >
> > Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
------------------------------------------------------------
This message and any files transmitted within are intended
solely for the addressee or its representative and may
contain company sensitive information. If you are
not the intended recipient, notify the sender immediately
and delete this message. Publication, reproduction,
forwarding, or content disclosure is prohibited without the
consent of the original sender and may be unlawful.
Concurrent Technologies Corporation and its Affiliates.
www.ctc.com 1-800-282-4392
------------------------------------------------------------
---------------------------------------------------------------------
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]