jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Frank>
Subject Re: Testing WebService(SOAP) Request in HTTPS protocol
Date Wed, 19 Jan 2011 08:24:38 GMT

On 01/19/2011 05:57 AM, Ali Navab wrote:
> Hi All,
> I've recently installed JMeter for Load and Performance Test of a
> WebApplication and a WebService. every thing is ok and help embedded but a
> qustion:
> When i want to test my webService using "WebService(SOAP) Request", i can
> not solve the error.
> my webserver is "apache-tomcat-6.0.26" and the address of webservice is:
> https://localhost:8443/.../../Re..WebServiceImpl?WSDL<https://localhost:8443/Re..WebServiceImpl?WSDL>
> Because of the https protocol, i gave the key to JMeter using Option>SSL
> Manager
> but it still return ssl error (i think!)
> The exact error is :
> Response message: Error opening socket:
> SSLHandshakeException:
> ValidatorException: PKIX path building failed:
> unable to find
> valid certification path to requested target

You "gave the key" to Jmeter? Could you be more specific?

Does your server use a self-signed certificate? If so, you need to add
the *certificate*, preferably to your java installation.

Assuming you have the certificate in tomcat.cer, do something along the
lines of
$ keytool -import -alias tomcatselfsigned -keystore
$JAVAHOME/jre/lib/security/cacerts -trustcacerts -file tomcat.cer

Then all Java applications should handshake with your Tomcat without

The certificate may currently be "hidden" in Tomcat's own keystore, you
may want to "keytool -exportcert" it first or alternatively import the
whole Tomcat keystore to the global Java keystore.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message