To follow up, sebb has implemented improvement.
Used it this day during recording, very nice !
Much less work tha before.

Thanks sebb !
On Friday, September 6, 2013, sebb wrote:

> On 6 September 2013 12:40, Flavio Cysne <[email protected]<javascript:;>>
> wrote:
> > JMeter HTTP Proxy will capture all requests, even those with HTTP 302
> > response code. The exception (will not capture all requests) is when
> > 'Download all embedded resources' is checked.
> >
> > You'll have to disable 'Follow Redirects' in your POST HTTP Request
> sampler
> > or remove the subsequent GET HTTP Request sampler to make it the right
> way.
> > Can't say this is a wrong behavior, it's just misunderstood (my opinion).
> >
> > Proposal to JMeter newer versions:
> > Add a property in jmeter.properties to toggle default value of 'Follow
> > Redirects', since JMeter HTTP Proxy will capture all requests, even those
> > with HTTP 302 response code.
>
> Created an enhancement issue to track this:
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=55531
>
>
> >
> > 2013/9/6 黄吉浩 <[email protected] <javascript:;>>
> >
> >> hi,
> >> I recorded samplers using the 'HTTP Proxy server'.
> >> I found that samplers generated this way seemed to work. but recently I
> >> found a potential problem.
> >> I submit a POST, and the respose is 'HTTP 302', then redirect me to
> >> another page.
> >> when recording, I will get 2 samplers. one is POST method, the other is
> >> GET method (to the redirected URL). The 'Follow Redirects' property of
> the
> >> 2 samplers default to be ticked.
> >> so this is the problem. when I run the test. I will send request to the
> >> redirected URL twice, which is not right.
> >>
> >> what to do in this situation?
> >> thanks in advance.
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected] <javascript:;>
> For additional commands, e-mail: [email protected]<javascript:;>
>
>

-- 
Cordialement.
Philippe Mouawad.

Reply via email to