Im using 1.8.1. I got it to work in one case. What I did was create a
reponse assertion and added it as a NOT ${_regex.....
I added it to another case and the regular expression didn't match for some
reason....still looking but got one case to work.
I put receiptID as the variable name as parameter 6.
My question really is, where is a good place to put the regular expression
so it grabs the variable for the next http request? Should it be in a
response assertion as a not? That's where I put it.
----- Original Message -----
From: "Mike Stover" <[EMAIL PROTECTED]>
To: "JMeter Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 2:29 PM
Subject: Re: pull value from response and put in future request
> If you are trying to access your variable as ${receiptID}, then you're
probably
> running JMeter 1.8, and it's not working. It would work under JMeter
1.8.1. To get
> it working immediately for you, you probably need to access the variable
as
> ${receiptID_g1} (g1 stands for "group 1", which you appear to be looking
for).
>
> -Mike
>
> On 4 Feb 2003 at 14:06, Michael C. Lee Jr. wrote:
>
> > How can I pull a value from a response, put it in some variable and use
that variable in a future post/get http request? I've read through the
documentation and tried to do it using the regexFunctoin but cant get it to
work
> >
> > ${__regexFunction(receiptID%3D%28.*%29%22,%241%24,1,,277,receiptID)}
> >
> > That is the expression I have.
> >
> > I want to go to a search page to search on receipts and get a list of
receipts back in a series of URLs. At the end is ....?receiptID=12345"....
> > I want the 12345 put in a variable called receiptID. Then I want to call
another page with that variable as one of the parameters.
> > Help!
> > Mike Lee
>
>
>
> --
> Michael Stover
> [EMAIL PROTECTED]
> Yahoo IM: mstover_ya
> ICQ: 152975688
> AIM: mstover777
>
> ---------------------------------------------------------------------
> 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]