You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2016/02/26 00:03:26 UTC
svn commit: r1732391 -
/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java
Author: pmouawad
Date: Thu Feb 25 23:03:26 2016
New Revision: 1732391
URL: http://svn.apache.org/viewvc?rev=1732391&view=rev
Log:
Bug 59071 - CookieManager : Defaults used by CookieManager (after Bug 58756) are wrong
Fix test failure
Bugzilla Id: 59071
Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java
Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java?rev=1732391&r1=1732390&r2=1732391&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java Thu Feb 25 23:03:26 2016
@@ -119,11 +119,11 @@ public class CookieManager extends Confi
}
public String getPolicy() {
- return getPropertyAsString(POLICY);
+ return getPropertyAsString(POLICY, HC4CookieHandler.DEFAULT_POLICY_NAME);
}
public void setCookiePolicy(String policy){
- setProperty(POLICY, policy);
+ setProperty(POLICY, policy, HC4CookieHandler.DEFAULT_POLICY_NAME);
}
public CollectionProperty getCookies() {
@@ -143,11 +143,11 @@ public class CookieManager extends Confi
}
public String getImplementation() {
- return getPropertyAsString(IMPLEMENTATION);
+ return getPropertyAsString(IMPLEMENTATION, DEFAULT_IMPLEMENTATION);
}
public void setImplementation(String implementation){
- setProperty(IMPLEMENTATION, implementation);
+ setProperty(IMPLEMENTATION, implementation, DEFAULT_IMPLEMENTATION);
}
/**