https://issues.apache.org/bugzilla/show_bug.cgi?id=54119
Philippe Mouawad <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |om --- Comment #2 from Philippe Mouawad <[email protected]> --- Using follow redirect HTTP Sampler 4. The issue is related to the following code in HTTPSampleResult: public boolean isRedirect() { final String[] REDIRECT_CODES = { "301", "302", "303" }; // NOT 304! String code = getResponseCode(); for (int i = 0; i < REDIRECT_CODES.length; i++) { if (REDIRECT_CODES[i].equals(code)) { return true; } } return false; } I think 307 should be added + a check that it's a HEAD or GET before following redirect -- You are receiving this mail because: You are the assignee for the bug.
