Are you using the default HTTP Sampler, or the HTTPClient version?

There was a problem with the handling of redirects in the latter,
which is fixed in 2.2.

Also, are you using Redirect Automatically, or Follow Redirects?

S.
On 14/06/06, Morgan Monger <[EMAIL PROTECTED]> wrote:
No, default values were not populated in the scripts;
however, that does not explain why the Location header
is omitted from the headers passed to the RE.

Morgan

--- sebb <[EMAIL PROTECTED]> wrote:

> Perhaps, but if the RE does not match, then it will
> set the variable
> to the default.
>
> Just remembered - in 2.2 the code was changed to not
> set any default
> if no default string was provided, so that could
> explain the change in
> behaviour.
>
> Have you provided a default value?
>
> S.
> On 14/06/06, Morgan Monger <[EMAIL PROTECTED]>
> wrote:
> > I think I may have narrowed it down a bit. On an
> > HTTPSampler node that receives a 302 response
> code,
> > the Location header is not in the list of headers
> > passed to the RegexExtractor.
> >
> > Morgan
> >
> > --- sebb <[EMAIL PROTECTED]> wrote:
> >
> > > That's a bit odd - the value ${ss1} means that
> the
> > > variable ss1 is not
> > > recognised, which suggests that the regex
> extractor
> > > is not being run -
> > > otherwise it would have generated at least the
> > > default value -
> > > assuming you are using the RE Post-Processor?
> > >
> > > This works for me with a very simple test case
> in
> > > 2.2.
> > >
> > > Check jmeter.log for any errors.
> > >
> > > If you can't fix it, please create a Bugzilla
> issue
> > > and attach JMX and
> > > jmeter.log files.
> > >
> > > S.
> > > On 14/06/06, Morgan Monger <[EMAIL PROTECTED]>
> > > wrote:
> > > > In JMeter 2.1.1, I have an extractor below an
> HTTP
> > > > Sampler. The reference name is ss1. In the
> > > subsequent
> > > > HTTP Sampler, I reference ${ss1} and the
> extracted
> > > > value is passed correctly. In JMeter 2.2, the
> > > value is
> > > > sent to the web server as ${ss1} instead of
> the
> > > > extracted value. I have run the script
> > > side-by-side
> > > > for JMeter 2.1.1 and 2.2 to make sure the
> header
> > > > information is coming across correct. Any
> ideas
> > > why
> > > > the value is not substituted? Thanks,
> > > >
> > > > Morgan
> > > >
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Tired of spam?  Yahoo! Mail has the best spam
> > > protection around
> > > > http://mail.yahoo.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]
> > >
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.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]
>
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.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]

Reply via email to