You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my local copy of 'HTTPSampler' I added at line #383:
URL newUrl = new URL(loc);
---> urlConfig.removeArguments();
urlConfig.putProperty(UrlConfig.DOMAIN, newUrl.getHost());
urlConfig.putProperty(UrlConfig.PATH, newUrl.getFile());
This did fix the problem but I'm not sure where else this is needed.
Votes in Bugzilla: 1
Severity: major
OS: All
The text was updated successfully, but these errors were encountered:
Jordi Salvat i Alabart (migrated from Bugzilla):
Marking all bugs RESOLVED before JMeter 1.8's release date as VERIFIED.
Yes, it's pretty poor QA procedure, but there's bugs here lingering since JMeter
1.6, and we need to clean up a little.
Kris Young (Bug 5136):
This is really version 1.7Beta.
The redirectUrl(HttpURLConnection, URL, UrlConfig) method is not redirecting
properly.
When performing a GET with params, the params are appended to the redirected
location URL.
i.e. If we have:
http://my.server.com/servlet/Login?username=user&password=psswd
The login servlet redirects to:
http://my.server.com/servlet/Welcome?name=YourName
In the JMeter framework the login servlet redirects to:
http://my.server.com/servlet/Welcome?name=YourName?username=user&password=psswd
In my local copy of 'HTTPSampler' I added at line #383:
URL newUrl = new URL(loc);
---> urlConfig.removeArguments();
urlConfig.putProperty(UrlConfig.DOMAIN, newUrl.getHost());
urlConfig.putProperty(UrlConfig.PATH, newUrl.getFile());
This did fix the problem but I'm not sure where else this is needed.
Votes in Bugzilla: 1
Severity: major
OS: All
The text was updated successfully, but these errors were encountered: