jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1310869 - /jmeter/trunk/src/components/org/apache/jmeter/config/KeystoreConfig.java
Date Sat, 07 Apr 2012 21:19:51 GMT
Author: pmouawad
Date: Sat Apr  7 21:19:50 2012
New Revision: 1310869

URL: http://svn.apache.org/viewvc?rev=1310869&view=rev
Log:
Add a warning is https.use.cached.ssl.context is not set or set to true when using KeystoreConfig

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/config/KeystoreConfig.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/config/KeystoreConfig.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/config/KeystoreConfig.java?rev=1310869&r1=1310868&r2=1310869&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/config/KeystoreConfig.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/config/KeystoreConfig.java Sat Apr  7 21:19:50
2012
@@ -65,6 +65,10 @@ public class KeystoreConfig extends Conf
     }
 
     public void testStarted(String host) {
+        String reuseSSLContext = JMeterUtils.getProperty("https.use.cached.ssl.context");
+        if(StringUtils.isEmpty(reuseSSLContext)||"true".equals(reuseSSLContext)) {
+            log.warn("https.use.cached.ssl.context property must be set to false to ensure
Multiple Certificates are used");
+        }
         int startIndexAsInt = JMeterUtils.getPropDefault(KEY_STORE_START_INDEX, 0);
         int endIndexAsInt = JMeterUtils.getPropDefault(KEY_STORE_END_INDEX, 0);
         



Mime
View raw message