https://bz.apache.org/bugzilla/show_bug.cgi?id=65328

            Bug ID: 65328
           Summary: HTTP 308 Permanent Redirect is not supported
           Product: JMeter
           Version: 5.4.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: JMETER_5.5

Created attachment 37876
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37876&action=edit
Shows the buggy behavior in the View Results Tree when a 308 response is
received.

Hi, I encountered a problem testing our website which is returning HTTP 308
Permanent Redirect status code.

When I create a request returning this kind of response and having the "Follow
Redirects" option enabled the first request is executed and receives the 308
response. 

But, the successive one is incorrect, it returns a 200 OK response but in the
"Sampler result" tab Data type is '("text"|"bin"|""):' instead of
'("text"|"bin"|""):text' and the "Response data" tab is empty.

See also the bad-result-tree.png file attached to this case. You'll see that
the tree is "flat" (i.e it has 2 "Home" entries) unless it should contain a
"Home" root and 2 leaves "Home-0" (for the 308 request) and "Home-1" (for the
200 request).

The good-result-tree.png file shows what should be displayed when execution is
not "buggy".

I fixed the problem and will provide a patch just after writing this issue. The
fix seems very easy, it just appears that JMeter does not have any support for
HTTP 308 redirects.

Thanks for this great tool.

Sincerely,

Baptiste Gaillard

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to