You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Wood, Michael" <Mi...@schwab.com> on 2002/09/11 21:46:42 UTC

HTTPS broken from 1.7 to 1.7.3

Hi,
 
Have tried searching archives for this. 
I had 1.7 release working with our HTTPS only site. I am using JDK1.3.1 with
JSSE 1.0.3. 
I tried upgrading to 1.7.3 unstable and also the latest nightly (9/11) and I
get the following:
 
WARN - jmeter.protocol.http: unknown protocol: https
java.net.MalformedURLException: unknown protocol: https
 at java.net.URL.<init>(URL.java:307)
 at java.net.URL.<init>(URL.java:224)
 at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.getUrl(HTTPSampler.java:
421)
 at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
872)
 at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
380)
 at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:139)
 at java.lang.Thread.run(Thread.java:484)

I did notice that HTTPS support was dropped from HTTP Defaults in the 9/11
build so coded all my HTTP Requests with the HTTPS radio button and dropped
the Defaults.
 
Here's the properties:
ssl.provider=com.sun.net.ssl.internal.ssl.Provider
#ssl.provider=iaik.security.jsse.provider.IAIKJSSEProvider
ssl.pkgs=com.sun.net.ssl.internal.www.protocol
#javax.net.ssl.trustStore=/path/to/cacerts    
#ssl.pkgs=iaik.protocol
#ssl.provider=com.mycompany.security.provider.SmartProvider
#iaik.provider=com.mycompany.security.provider.SmartSSLProvider

 
I have my own HostnameVerifier that I set in the
org.apache.jmeter.untils.JsseSSLManager setContext() method. It is not even
getting there as it appears to not even try the SSL level. 
 
With 1.7.3 unstable (not the nightly) I get this at startup:-
SSL Provider is: SunJSSE version 1.03
Secure = false
Running the test!
 (The system cannot find the path specified)
 
Please advise!!
Thanks - very grateful!
Mike.