Did you set the RE to extract from the URL?

Is the RE added as a child of the sampler that has the id in the URL?

==

You could try

id=(\d+)

instead, which will match any number of digits.

On 05/04/07, Hoffman, Matthew <[EMAIL PROTECTED]> wrote:
Yeah, I tried what you suggested below.  The difference was the quotes.
It still does not grab that ID.  I have id=(\d{3}) for the regex.

I tried it with the template at $1$ and Match at 1.  I also tried it
without these and still doesn't grab it.

Changes to those won't affect whether or not it matches.

Puzzled..  I am thinking that I can't get that for some reason. I am
going to try to figure out a different way to get it.


------------------------------------
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: Thursday, April 05, 2007 8:37 AM
To: JMeter Users List
Subject: Re: General RegEx

On 05/04/07, Hoffman, Matthew <[EMAIL PROTECTED]> wrote:
> Not sure why this won't work.

Because the RE is wrong.

> The URL is:
> http://localhost/tttt/ppp/form.action?id=333&selectedTab=1&refresh=1
>
> The request that is coming back in the result tree is:
>
> GET
>
http://localhost/tttt/ppp/form.action?id=Token+Not+Found&selectedTab=1&r
> efresh=1
>

Because the RE did not match.

> The regular expression extractor looks like this:
> Reference name:  tmrid
> Regular expression:  id="(\d{3})"

Which is _not_ what I suggested - see below.

> Template:  $1$
> Match No.:  1
> Default Value:  Token Not Found

This is appearing because the RE does not match.

> -----Original Message-----
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 04, 2007 12:52 PM
> To: JMeter Users List
> Subject: Re: General RegEx
>
> Try
>
> id=(\d{3})
>

---------------------------------------------------------------------
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]

Reply via email to