Interview Questions

Why do HTTP 3xx redirects appear as errors ? Is there a way to make them appear as HTTP 200 OK

Apache JMeter FAQ


(Continued from previous question...)

Why do HTTP 3xx redirects appear as errors ? Is there a way to make them appear as HTTP 200 OK

Quick answer: They appear as an error because 302 != 200, at least in v 1.8.1.
Long answer: try using v1.9RC1, the code in HTTPSampler seems to take into account the result code for the redirect instead of the redirect result code.

(Continued on next question...)

Other Interview Questions