Bug 56272 - MirrorServer should support query parameters for status and redirects
Summary: MirrorServer should support query parameters for status and redirects
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.11
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-15 17:07 UTC by Sebb
Modified: 2014-03-15 17:26 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2014-03-15 17:07:08 UTC
The MirrorServer currently supports returning a different status by using the X-ResponseStatus header and redirects by using the appropriate value for X-SetHeaders.

However, headers are resent for redirected requests which means that the redirect location cannot be the mirror server as that causes an redirect loop.

For additonal flexibility it would be useful to be able to use query parameters to set the status and redirect location.
Comment 1 Sebb 2014-03-15 17:18:08 UTC
URL: http://svn.apache.org/r1577903
Log:
MirrorServer should support query parameters for status and redirects
Bugzilla Id: 56272

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HttpMirrorThread.java
    jmeter/trunk/test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 Sebb 2014-03-15 17:26:09 UTC
URL: http://svn.apache.org/r1577906
Log:
MirrorServer should support query parameters for status and redirects
Oops! Allow for queries that don't have "=" in them
Bugzilla Id: 56272
Comment 3 The ASF infrastructure team 2022-09-24 20:37:56 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3343