You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Scott Cederberg <ce...@gmail.com> on 2007/04/13 02:50:12 UTC

SSL connection issues with SOAP sampler

Hi all,

    When making connections via https, I am able to succesfully load a
page using an HTTP Sampler.  However, attempting to use a SOAP sampler
results in the following type of error:

    java.net.SocketException: password can&apos;t be null
        at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:176)
        at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:81)
        at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:126)
        at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
        at org.apache.jmeter.protocol.http.sampler.SoapSampler.sample(SoapSampler.java:224)
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:647)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
        at java.lang.Thread.run(Thread.java:595)

I've ensured that my KeyStore has a password set, and in my
jmeter.properties I have these lines:

javax.net.ssl.keyStore=/home/<username>/.keystore
javax.net.ssl.keyStorePassword=<password>

I recently regenerated the certificate in my keystore, because the old
one had expired.  Any ideas what might be going on here?

Thanks.


                        Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org