Bug 19004 - Allow HTTPSampler to delegate redirect handling
Summary: Allow HTTPSampler to delegate redirect handling
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: unspecified
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-14 16:44 UTC by jkb
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
Allow delegation of redirects (1.75 KB, patch)
2003-04-15 23:14 UTC, jkb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jkb 2003-04-14 16:44:14 UTC
HTTPSampler.java currently handles all redirects itself and always calls 
HttpURLConnection.setFollowRedirects(false).

It would be better if this behaviour were configurable, so that redirects could 
be delegated to the connection handler instead.

Patch follows.
Comment 1 jkb 2003-04-15 23:14:13 UTC
Created attachment 5848 [details]
Allow delegation of redirects
Comment 2 Sebb 2003-10-05 12:29:03 UTC
Added check for HTTPSampler.delegateRedirects JMeter property (default false) 
to control if redirects handled locally or by URLConnection
Comment 3 The ASF infrastructure team 2022-09-24 20:37:29 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1076