Make select box content depend on Cookie implementation.
Author: pmouawad Date: Sun Dec 20 16:09:49 2015 New Revision: 1721041 URL: http://svn.apache.org/viewvc?rev=1721041&view=rev Log: Bug 58756 - CookieManager : Cookie Policy select box content must depend on Cookie implementation Bugzilla Id: 58756 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HC3CookieHandler.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HC4CookieHandler.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java jmeter/trunk/xdocs/changes.xml
After fix to Bug 58756, default was used as the default policy. But this is wrong as: - HttpHC3Impl used "compabitility" as default - HttpHC4Impl should use "standard" as default (This explains the reported issue by Maxime Chassagneux on Mailing list related to dates parsing) The issue is that when reading a 2.13 saved JMX from a 3.0, as default have changed, the default values are not in JMX file so we end up initializing different values.
*** Bug 59071 has been marked as a duplicate of this bug. ***
Author: pmouawad Date: Thu Feb 25 22:10:00 2016 New Revision: 1732387 URL: http://svn.apache.org/viewvc?rev=1732387&view=rev Log: Bug 58756 - CookieManager : Cookie Policy select box content must depend on Cookie implementation After fix to Bug 58756, default was used as the default policy. But this is wrong as: - HttpHC3Impl used "compabitility" as default - HttpHC4Impl should use "standard" as default (This explains the reported issue by Maxime Chassagneux on Mailing list related to dates parsing) Bugzilla Id: 58756 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieHandler.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HC3CookieHandler.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HC4CookieHandler.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java
Author: sebb Date: Sat Feb 27 01:39:02 2016 New Revision: 1732593 URL: http://svn.apache.org/viewvc?rev=1732593&view=rev Log: Change default to HC4/standard Bugzilla Id: 58756 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HC4CookieHandler.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java Author: sebb Date: Sat Feb 27 02:12:02 2016 New Revision: 1732595 URL: http://svn.apache.org/viewvc?rev=1732595&view=rev Log: Fix bug whereby policy was sometimes reset when navigating between HC3 and HC4 Cookie Configs Bugzilla Id: 58756 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java
Author: pmouawad Date: Sat Feb 27 12:53:18 2016 New Revision: 1732634 URL: http://svn.apache.org/viewvc?rev=1732634&view=rev Log: Bug 58756 - CookieManager : Cookie Policy select box content must depend on Cookie implementation A) Fix bug introduced by commit r1732632: 1/ Save with 2.13 a Plan containing CookieManager that uses defaults 2/ Open it with trunk 3/ It is ok 4/ Close it 5/ Add a new CookieManager => KO the policy is default instead of standard B) Also made constants explicit and removed dependency on deprecated class. C) Forced the save of policy and implementation even if there values are set at defaults to avoid this headache again Bugzilla Id: 58756 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3739