Thanks - I've taken a look at that, and can reproduce the problem.

The RE code was changed in 2.2 to check for responseData length = 0,
rather than checking it for null. Both checks are wrong, as there is
no need to check the body if the RE is matching against the Headers or
URL, but presumably the responseData was not null in 2.1.1.

The reason that the redirect test against Google works is that the
redirect response actually contains some data, whereas the POST in
your example does not return any body data. So it may be a POST/GET
difference rather than https/http.

The solution is obviously to remove the data length check.

I should be able to update the code later today, and create a new
nightly to test.

Sorry it has taken so long to get to the bottom of this.

S.
On 21/09/06, David Bronner <[EMAIL PROTECTED]> wrote:
I eventually replicated the problem on a public site and opened bug
40562<http://issues.apache.org/bugzilla/show_bug.cgi?id=40562>with a
script that works in
2.1.1 and not in 2.2.   I think it only effects redirects from HTTPS sites,
but I'm not certain.

-Dave

On 9/21/06, Per Ekman <[EMAIL PROTECTED]> wrote:
>
> It think this could be the same issue that I've posted about in
>
>
> 
http://www.nabble.com/Can%27t-use-Reqular-Extraction-Variable-in-request-path-tf2232503.html
>
> and also in
>
>
> 
http://www.nabble.com/JMeter-2.2-Extractor-Variable-Problems-tf1786056.html#a5064504
>
>
> >From: sebb <[EMAIL PROTECTED]>
> >Reply-To: "JMeter Users List" <[email protected]>
> >To: "JMeter Users List" <[email protected]>
> >Subject: Re: Redirects and regular expression extractors
> >Date: Wed, 20 Sep 2006 19:00:18 +0100
> >
> >Works fine for me.
> >
> >I suggest you create a Bugzilla issue, and attach a simple example
> >JMX, plus the corresponding jmeter.log
> >
> >S.
> >On 15/09/06, David Bronner <[EMAIL PROTECTED]> wrote:
> >>Hi everyone,
> >>
> >>In JMeter 2.1.1, I used RE extractors to parse some redirect information
> >>for
> >>later use.  In JMeter 2.2, it seems that my postprocessors aren't
> getting
> >>executed when a sampler gets a 302 and "Follow Redirects" is not
> selected.
> >>Is this correct?  Is there a way to get the old behavior where
> >>postprocessors are always executed?
> >>
> >>Thanks,
> >>Dave
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> _________________________________________________________________
> Provlaga höstens goda recept
> http://arla.msn.se/Partner/Msn/index____18291.aspx
>
>
> ---------------------------------------------------------------------
> 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