Bug 59382 - More realistic default value for httpsampler.max_redirects
Summary: More realistic default value for httpsampler.max_redirects
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.13
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-26 19:18 UTC by Philippe Mouawad
Modified: 2016-04-26 19:22 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2016-04-26 19:18:23 UTC
Currently default value is 5.
This value is too low and does not reflect modern behaviour of browsers:
- http://stackoverflow.com/questions/9384474/in-chrome-how-many-redirects-are-too-many


Chrome 49, 21 redirects
Chrome Canary 49, 21 redirects
Chrome Canary 51, 21 redirects
Firefox 43, 20 redirects
Firefox 45, 20 redirects
IE 8, 11 redirects (webpagetest.org)
IE 9, 121 redirects (webpagetest.org)
IE 10, 121 redirects (webpagetest.org)
IE 11, 110 redirects
Opera 28, 21 redirects
Opera 36, 21 redirects
Safari 5.1.7, 16 redirects

I checked FF using about:config
- http://kb.mozillazine.org/network.http.redirection-limit => 20 for FF

I will raise this default value to 20.
Comment 1 Philippe Mouawad 2016-04-26 19:22:42 UTC
Author: pmouawad
Date: Tue Apr 26 19:22:26 2016
New Revision: 1741085

URL: http://svn.apache.org/viewvc?rev=1741085&view=rev
Log:
Bug 59382 - More realistic default value for httpsampler.max_redirects
Bugzilla Id: 59382

Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 The ASF infrastructure team 2022-09-24 20:38:04 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3964