Hi, you can use your SSL - certificate ...

 

SET TEST_PROPERTIES= -Djavax.net.ssl.trustStore=webtest/certs/your_cert.store

start webtest.bat -f fix.build.xml %TEST_PROPERTIES%

 

OR

 

<groovy>step.context.webClient.useInsecureSSL = true</groovy>

 

Inside <STEPS> ...

 

Roman.

 

 

From: [email protected] [mailto:[email protected]] On 
Behalf Of Hitesh Gupta
Sent: Tuesday, April 21, 2009 12:44 PM
To: [email protected]; Florent Blondeau
Subject: Re: [Webtest] https support by Canoo Webtest.

 

Hi Florent,

Thanks for the reply.
I have already tried that but unfortunately still I am getting the same error :(

If you have any other suggestion then please tell me...

Hitesh

On 4/21/09, Florent Blondeau <[email protected]> wrote:

Hi Hitesh,

you should switch the option useInsecureSSL to true

- Config step definition in Webtest's Manual

useInsecureSSL

Required? No, default is "false"

Specifies if WebTest should ignore insecure SSL certificates like self signed 
certificate that have not been added to the truststore or expired certificates. 



Hope that helps

Florent



Pingwy 27, rue des arènes 49100 Angers 



Hitesh Gupta a écrit : 

        Hi,
        
        I am getting a strange error "Unexpected exception caught: 
javax.net.ssl.SSLHandshakeException" while executing one of my script. The link 
which is being clicked by my application is https and I think this error is 
because of that https link.
        
        Is there anyone who has also faced similar issue or knows how to 
resolve such problem, could also tell me something to solve this issue.
        
        Thanks in advance for your help..!!
        
        Hitesh.

 

Reply via email to