You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Mark McWhinney <ms...@portata.com> on 2007/09/06 23:22:48 UTC

SOAP with SSL

I am getting the following error when I try to run a WebService(SOAP)
Request against a site with https (port 8443).  I am using JMeter 2.2
Any ideas?  Are there any known issues with SOAP & SSL?  I have used JMeter
with a web site with https without problems, so I know the bases SSL stuff
is OK.



Thread Name: XYZ 1-1
Sample Start: Thu Sep 06 14:13:51 PDT 2007
Load time: 0
HTTP response code: 000
HTTP response message: Error opening socket: java.net.SocketException:
java.security.NoSuchAlgorithmException: Error constructing implementation
(algorithm: Default, provider: SunJSSE, class:
com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)

HTTP response headers:





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


RE: SOAP with SSL

Posted by Mark McWhinney <ms...@portata.com>.
I converted the Webservice(SOAP) Request to an HTTP Request.  SSL now works
great.  Life is good.



-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Thursday, September 06, 2007 5:57 PM
To: JMeter Users List
Subject: Re: SOAP with SSL

You could perhaps try the other SOAP sampler which uses HttpClient code.

The Webservice sampler uses Apache Soap (an old version).

S.
On 07/09/07, Mark McWhinney <ms...@portata.com> wrote:
> I am running SUN jdk1.6.0_02 on Windows XP.
>
> JMeter works fine with this set up with the HTTP Request sampler with the
> protocol set to HTTPS.
>
> I am just grabbing at straws at this point, hence mucking with the
keystore.
>
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Thursday, September 06, 2007 5:19 PM
> To: JMeter Users List
> Subject: Re: SOAP with SSL
>
> Which version of Java are you running?
>
> Does JMeter work OK for https: URLs in the two HTTP Samplers?
>
> Looks a bit like a Java problem if it can't create the default
algorithm...
>
> Not sure why you want to use a keystore file - are you using client
> authentication?
>
> On 07/09/07, Mark McWhinney <ms...@portata.com> wrote:
> > I have installed 2.3RC4.  Now I get the following error message:
> >
> > Response message: Error opening socket: java.net.SocketException:
> > java.security.NoSuchAlgorithmException: Error constructing
implementation
> > (algorithm: Default, provider: SunJSSE, class:
> > com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
> >
> >
> > I copied the keystore file (jks type) from the Tomcat server to the
> Windows
> > PC with JMeter.  I loaded it into JMeter via SSL Manager which did not
> > prompt me for the password but did not generate any error messages in
the
> > log file.
> >
> >
> >
> > -----Original Message-----
> > From: sebb [mailto:sebbaz@gmail.com]
> > Sent: Thursday, September 06, 2007 3:47 PM
> > To: JMeter Users List
> > Subject: Re: SOAP with SSL
> >
> > The current version is 2.3RC4, which fixes an SSL problem in RC3...
> >
> > On 06/09/07, sherlin mathew <sh...@yahoo.co.in> wrote:
> > > Hi Mark
> > >  Try using JMeter 2.3
> > >  I too encountered problems with SOAP requests and ssl. JMeter 2.3RC3
> > worked fine for me.
> > >  There are some bugs in SSL handling in Jmeter 2.2
> > >
> > >  Thanks
> > >  Sherlin Mathew
> > >
> > > Mark McWhinney <ms...@portata.com> wrote:
> > >  I am getting the following error when I try to run a WebService(SOAP)
> > > Request against a site with https (port 8443). I am using JMeter 2.2
> > > Any ideas? Are there any known issues with SOAP & SSL? I have used
> JMeter
> > > with a web site with https without problems, so I know the bases SSL
> stuff
> > > is OK.
> > >
> > >
> > >
> > > Thread Name: XYZ 1-1
> > > Sample Start: Thu Sep 06 14:13:51 PDT 2007
> > > Load time: 0
> > > HTTP response code: 000
> > > HTTP response message: Error opening socket: java.net.SocketException:
> > > java.security.NoSuchAlgorithmException: Error constructing
> implementation
> > > (algorithm: Default, provider: SunJSSE, class:
> > > com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
> > >
> > > HTTP response headers:
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> > >
> > >
> > > ---------------------------------
> > >  Get the freedom to save as many mails as you wish. Click here to know
> > how.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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



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


Re: SOAP with SSL

Posted by sebb <se...@gmail.com>.
You could perhaps try the other SOAP sampler which uses HttpClient code.

The Webservice sampler uses Apache Soap (an old version).

S.
On 07/09/07, Mark McWhinney <ms...@portata.com> wrote:
> I am running SUN jdk1.6.0_02 on Windows XP.
>
> JMeter works fine with this set up with the HTTP Request sampler with the
> protocol set to HTTPS.
>
> I am just grabbing at straws at this point, hence mucking with the keystore.
>
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Thursday, September 06, 2007 5:19 PM
> To: JMeter Users List
> Subject: Re: SOAP with SSL
>
> Which version of Java are you running?
>
> Does JMeter work OK for https: URLs in the two HTTP Samplers?
>
> Looks a bit like a Java problem if it can't create the default algorithm...
>
> Not sure why you want to use a keystore file - are you using client
> authentication?
>
> On 07/09/07, Mark McWhinney <ms...@portata.com> wrote:
> > I have installed 2.3RC4.  Now I get the following error message:
> >
> > Response message: Error opening socket: java.net.SocketException:
> > java.security.NoSuchAlgorithmException: Error constructing implementation
> > (algorithm: Default, provider: SunJSSE, class:
> > com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
> >
> >
> > I copied the keystore file (jks type) from the Tomcat server to the
> Windows
> > PC with JMeter.  I loaded it into JMeter via SSL Manager which did not
> > prompt me for the password but did not generate any error messages in the
> > log file.
> >
> >
> >
> > -----Original Message-----
> > From: sebb [mailto:sebbaz@gmail.com]
> > Sent: Thursday, September 06, 2007 3:47 PM
> > To: JMeter Users List
> > Subject: Re: SOAP with SSL
> >
> > The current version is 2.3RC4, which fixes an SSL problem in RC3...
> >
> > On 06/09/07, sherlin mathew <sh...@yahoo.co.in> wrote:
> > > Hi Mark
> > >  Try using JMeter 2.3
> > >  I too encountered problems with SOAP requests and ssl. JMeter 2.3RC3
> > worked fine for me.
> > >  There are some bugs in SSL handling in Jmeter 2.2
> > >
> > >  Thanks
> > >  Sherlin Mathew
> > >
> > > Mark McWhinney <ms...@portata.com> wrote:
> > >  I am getting the following error when I try to run a WebService(SOAP)
> > > Request against a site with https (port 8443). I am using JMeter 2.2
> > > Any ideas? Are there any known issues with SOAP & SSL? I have used
> JMeter
> > > with a web site with https without problems, so I know the bases SSL
> stuff
> > > is OK.
> > >
> > >
> > >
> > > Thread Name: XYZ 1-1
> > > Sample Start: Thu Sep 06 14:13:51 PDT 2007
> > > Load time: 0
> > > HTTP response code: 000
> > > HTTP response message: Error opening socket: java.net.SocketException:
> > > java.security.NoSuchAlgorithmException: Error constructing
> implementation
> > > (algorithm: Default, provider: SunJSSE, class:
> > > com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
> > >
> > > HTTP response headers:
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> > >
> > >
> > > ---------------------------------
> > >  Get the freedom to save as many mails as you wish. Click here to know
> > how.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


RE: SOAP with SSL

Posted by Mark McWhinney <ms...@portata.com>.
I am running SUN jdk1.6.0_02 on Windows XP.

JMeter works fine with this set up with the HTTP Request sampler with the
protocol set to HTTPS.

I am just grabbing at straws at this point, hence mucking with the keystore.


-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Thursday, September 06, 2007 5:19 PM
To: JMeter Users List
Subject: Re: SOAP with SSL

Which version of Java are you running?

Does JMeter work OK for https: URLs in the two HTTP Samplers?

Looks a bit like a Java problem if it can't create the default algorithm...

Not sure why you want to use a keystore file - are you using client
authentication?

On 07/09/07, Mark McWhinney <ms...@portata.com> wrote:
> I have installed 2.3RC4.  Now I get the following error message:
>
> Response message: Error opening socket: java.net.SocketException:
> java.security.NoSuchAlgorithmException: Error constructing implementation
> (algorithm: Default, provider: SunJSSE, class:
> com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
>
>
> I copied the keystore file (jks type) from the Tomcat server to the
Windows
> PC with JMeter.  I loaded it into JMeter via SSL Manager which did not
> prompt me for the password but did not generate any error messages in the
> log file.
>
>
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Thursday, September 06, 2007 3:47 PM
> To: JMeter Users List
> Subject: Re: SOAP with SSL
>
> The current version is 2.3RC4, which fixes an SSL problem in RC3...
>
> On 06/09/07, sherlin mathew <sh...@yahoo.co.in> wrote:
> > Hi Mark
> >  Try using JMeter 2.3
> >  I too encountered problems with SOAP requests and ssl. JMeter 2.3RC3
> worked fine for me.
> >  There are some bugs in SSL handling in Jmeter 2.2
> >
> >  Thanks
> >  Sherlin Mathew
> >
> > Mark McWhinney <ms...@portata.com> wrote:
> >  I am getting the following error when I try to run a WebService(SOAP)
> > Request against a site with https (port 8443). I am using JMeter 2.2
> > Any ideas? Are there any known issues with SOAP & SSL? I have used
JMeter
> > with a web site with https without problems, so I know the bases SSL
stuff
> > is OK.
> >
> >
> >
> > Thread Name: XYZ 1-1
> > Sample Start: Thu Sep 06 14:13:51 PDT 2007
> > Load time: 0
> > HTTP response code: 000
> > HTTP response message: Error opening socket: java.net.SocketException:
> > java.security.NoSuchAlgorithmException: Error constructing
implementation
> > (algorithm: Default, provider: SunJSSE, class:
> > com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
> >
> > HTTP response headers:
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
> >
> > ---------------------------------
> >  Get the freedom to save as many mails as you wish. Click here to know
> how.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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



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


Re: SOAP with SSL

Posted by sebb <se...@gmail.com>.
Which version of Java are you running?

Does JMeter work OK for https: URLs in the two HTTP Samplers?

Looks a bit like a Java problem if it can't create the default algorithm...

Not sure why you want to use a keystore file - are you using client
authentication?

On 07/09/07, Mark McWhinney <ms...@portata.com> wrote:
> I have installed 2.3RC4.  Now I get the following error message:
>
> Response message: Error opening socket: java.net.SocketException:
> java.security.NoSuchAlgorithmException: Error constructing implementation
> (algorithm: Default, provider: SunJSSE, class:
> com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
>
>
> I copied the keystore file (jks type) from the Tomcat server to the Windows
> PC with JMeter.  I loaded it into JMeter via SSL Manager which did not
> prompt me for the password but did not generate any error messages in the
> log file.
>
>
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Thursday, September 06, 2007 3:47 PM
> To: JMeter Users List
> Subject: Re: SOAP with SSL
>
> The current version is 2.3RC4, which fixes an SSL problem in RC3...
>
> On 06/09/07, sherlin mathew <sh...@yahoo.co.in> wrote:
> > Hi Mark
> >  Try using JMeter 2.3
> >  I too encountered problems with SOAP requests and ssl. JMeter 2.3RC3
> worked fine for me.
> >  There are some bugs in SSL handling in Jmeter 2.2
> >
> >  Thanks
> >  Sherlin Mathew
> >
> > Mark McWhinney <ms...@portata.com> wrote:
> >  I am getting the following error when I try to run a WebService(SOAP)
> > Request against a site with https (port 8443). I am using JMeter 2.2
> > Any ideas? Are there any known issues with SOAP & SSL? I have used JMeter
> > with a web site with https without problems, so I know the bases SSL stuff
> > is OK.
> >
> >
> >
> > Thread Name: XYZ 1-1
> > Sample Start: Thu Sep 06 14:13:51 PDT 2007
> > Load time: 0
> > HTTP response code: 000
> > HTTP response message: Error opening socket: java.net.SocketException:
> > java.security.NoSuchAlgorithmException: Error constructing implementation
> > (algorithm: Default, provider: SunJSSE, class:
> > com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
> >
> > HTTP response headers:
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
> >
> > ---------------------------------
> >  Get the freedom to save as many mails as you wish. Click here to know
> how.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


RE: SOAP with SSL

Posted by Mark McWhinney <ms...@portata.com>.
I have installed 2.3RC4.  Now I get the following error message:

Response message: Error opening socket: java.net.SocketException:
java.security.NoSuchAlgorithmException: Error constructing implementation
(algorithm: Default, provider: SunJSSE, class:
com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)


I copied the keystore file (jks type) from the Tomcat server to the Windows
PC with JMeter.  I loaded it into JMeter via SSL Manager which did not
prompt me for the password but did not generate any error messages in the
log file.



-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Thursday, September 06, 2007 3:47 PM
To: JMeter Users List
Subject: Re: SOAP with SSL

The current version is 2.3RC4, which fixes an SSL problem in RC3...

On 06/09/07, sherlin mathew <sh...@yahoo.co.in> wrote:
> Hi Mark
>  Try using JMeter 2.3
>  I too encountered problems with SOAP requests and ssl. JMeter 2.3RC3
worked fine for me.
>  There are some bugs in SSL handling in Jmeter 2.2
>
>  Thanks
>  Sherlin Mathew
>
> Mark McWhinney <ms...@portata.com> wrote:
>  I am getting the following error when I try to run a WebService(SOAP)
> Request against a site with https (port 8443). I am using JMeter 2.2
> Any ideas? Are there any known issues with SOAP & SSL? I have used JMeter
> with a web site with https without problems, so I know the bases SSL stuff
> is OK.
>
>
>
> Thread Name: XYZ 1-1
> Sample Start: Thu Sep 06 14:13:51 PDT 2007
> Load time: 0
> HTTP response code: 000
> HTTP response message: Error opening socket: java.net.SocketException:
> java.security.NoSuchAlgorithmException: Error constructing implementation
> (algorithm: Default, provider: SunJSSE, class:
> com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
>
> HTTP response headers:
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------
>  Get the freedom to save as many mails as you wish. Click here to know
how.

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



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


Re: SOAP with SSL

Posted by sebb <se...@gmail.com>.
The current version is 2.3RC4, which fixes an SSL problem in RC3...

On 06/09/07, sherlin mathew <sh...@yahoo.co.in> wrote:
> Hi Mark
>  Try using JMeter 2.3
>  I too encountered problems with SOAP requests and ssl. JMeter 2.3RC3 worked fine for me.
>  There are some bugs in SSL handling in Jmeter 2.2
>
>  Thanks
>  Sherlin Mathew
>
> Mark McWhinney <ms...@portata.com> wrote:
>  I am getting the following error when I try to run a WebService(SOAP)
> Request against a site with https (port 8443). I am using JMeter 2.2
> Any ideas? Are there any known issues with SOAP & SSL? I have used JMeter
> with a web site with https without problems, so I know the bases SSL stuff
> is OK.
>
>
>
> Thread Name: XYZ 1-1
> Sample Start: Thu Sep 06 14:13:51 PDT 2007
> Load time: 0
> HTTP response code: 000
> HTTP response message: Error opening socket: java.net.SocketException:
> java.security.NoSuchAlgorithmException: Error constructing implementation
> (algorithm: Default, provider: SunJSSE, class:
> com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
>
> HTTP response headers:
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------
>  Get the freedom to save as many mails as you wish. Click here to know how.

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


Re: SOAP with SSL

Posted by sherlin mathew <sh...@yahoo.co.in>.
Hi Mark
  Try using JMeter 2.3
  I too encountered problems with SOAP requests and ssl. JMeter 2.3RC3 worked fine for me.
  There are some bugs in SSL handling in Jmeter 2.2
   
  Thanks
  Sherlin Mathew 

Mark McWhinney <ms...@portata.com> wrote:
  I am getting the following error when I try to run a WebService(SOAP)
Request against a site with https (port 8443). I am using JMeter 2.2
Any ideas? Are there any known issues with SOAP & SSL? I have used JMeter
with a web site with https without problems, so I know the bases SSL stuff
is OK.



Thread Name: XYZ 1-1
Sample Start: Thu Sep 06 14:13:51 PDT 2007
Load time: 0
HTTP response code: 000
HTTP response message: Error opening socket: java.net.SocketException:
java.security.NoSuchAlgorithmException: Error constructing implementation
(algorithm: Default, provider: SunJSSE, class:
com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)

HTTP response headers:





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



       
---------------------------------
 Get the freedom to save as many mails as you wish. Click here to know how.