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]

Reply via email to