Actually, I'm using 1.7.3 and I was able to figure out how to get this working.

If you want to run HTTPS requests through the non-GUI version of JMeter, change your 
start script to include the following system property:

-Djavax.net.ssl.keyStorePassword=<keystore password>

regards,

Dave

-----Original Message-----
From: Mike Stover [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 27, 2002 8:32 AM
To: JMeter Users List
Subject: Re: SSL with NonGUI JMeter Session


The current code seems a little different from what you're using, as far as I can 
tell.  
You might want to try the most recent unstable release (1.7.3).  

Also, using SSL causes dialogs to pop up requesting information.  It's possible this 
is interfering with a non-gui run.

-Mike

On 26 Aug 2002 at 18:57, David Anderson wrote:

> Does anyone know if there is a problem with running HTTPS requests through JMeter 
>when not using the GUI client.  I have gotten SSL to work with GUI client, but when I 
>try to use the -n option in starting JMeter, I get the following exception, which in 
>turn causes all of my HTTPS requests to 
return null pointer exceptions.  
>  
> Thread Thread Group-1 started
> KeyStore Type: JKS
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at 
>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at 
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>         at org.apache.jmeter.util.SSLManager.getInstance(SSLManager.java:254)
>         at 
>org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:530)
>         at 
>org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:867)
>         at 
>org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:416)
>         at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:121)
>         at java.lang.Thread.run(Thread.java:536)
> Caused by: java.lang.IllegalStateException: SSLContextImpl is not initialized
>         at 
>com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(DashoA6275)
>         at javax.net.ssl.SSLContext.getSocketFactory(DashoA6275)
>         at com.sun.net.ssl.SSLContextSpiWrapper.engineGetSocketFactory(DashoA6275)
>         at com.sun.net.ssl.SSLContext.getSocketFactory(DashoA6275)
>         at org.apache.jmeter.util.JsseSSLManager.getContext(JsseSSLManager.java:212)
>         at org.apache.jmeter.util.JsseSSLManager.<init>(JsseSSLManager.java:131)
>         ... 10 more
> 
> Does anyone know the trick to getting the SSL Cert Store initialized in NonGUI mode?
>  
> thanks in advance,
>  
> Dave
>  
>  
> 
>   _____  
> 
> 
> David R. Anderson
> Technical Architect
> 10340 Viking Drive Suite 125
> Eden Prairie, MN 55344        P: 952.940.8278 x27 
> F: 952.941.4597        [EMAIL PROTECTED]
> www.notiva.com <http://www.notiva.com/>       
> 
>   _____  
> 
> Notiva-optimizing trade relationships.(tm) 
> 
>   _____  
> 
> 
>  
> 



--
Michael Stover
[EMAIL PROTECTED]
Yahoo IM: mstover_ya
ICQ: 152975688

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to