Forwarding to the mailing list.  When I try to go to that page, with WebTest, 
(https://dev.fbo.gov:443/servlet/slog) I get an SSLHandshakeException (Caused 
by: javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target).  I do not know what this could 
be and hope others on the list can help.  My initial, probably wrong, 
assumption is that it may be using a different port than 443?  I would setup my 
config and invoke like below instead of invoking the full url, although I don't 
know if it makes a difference or not (it did for me as I draw the config in 
from an external file and I had to override that in my testing).  My WebTest is 
a little old too (R_1632).

<config host="dev.fbo.gov" port="443" protocol="https"/>
<invoke url="servlet/slog" description="get Login Page" />

William Soula
QA Analyst

Pointserve, Inc.
110 Wild Basin Road
Suite 300
Austin, Texas 78746
O: 512.617.5311
F: 512.617.0466


________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 12:55 PM
To: Soula, William
Subject: https protocol


Thanks for your responce and advice.
I am trying to make very simple test:

<project name="SimpleTest" basedir="." default="wt.full">

<property name="webtest.home" location="C:/Canoo" />
<import file="${webtest.home}/webtest.xml"/>

<target name="wt.testInWork">
<webtest name="FBO Login Test">
<config
        port="443"
        protocol="https"/>
<invoke
url="https://dev.fbo.gov:443/servlet/slog";
description="get Login Page" />

<verifyTitle
text="FBO Buyers"
description="we should see the login title" />

</webtest>
</target>
</project>

and always failed with responce "Responses restored".
Can you say what is wrong here?

Thanks again

Yakov
Programmer
ISC



"Soula, William" <[EMAIL PROTECTED]>

03/05/2008 01:09 PM

To
"[email protected]" <[email protected]>, "[EMAIL PROTECTED]" 
<[EMAIL PROTECTED]>
cc
Subject
RE: [Webtest] (no subject)





Is your question about how to test SSL pages?  If so you change the config 
element to have protocol="https" and port="443".  If you are asking a question 
about the link you listed then I am sorry I can't help you.

William Soula
QA Analyst

Pointserve, Inc.
110 Wild Basin Road
Suite 300
Austin, Texas 78746
O: 512.617.5311
F: 512.617.0466


________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 10:19 AM
To: [email protected]
Subject: [Webtest] (no subject)


Hi,

I am trying to implement WebTest tool and I have a problem with checking pages 
with https protocol.

I found example in "{Downloaded_Source_Code}\doc\samples\ssl\" named 
"sslTest.xml",
but this file contain a link "com.canoo.webtest.ant.TestSpecificationTask" to 
the class which I was not able to find.

May be there were some changes which I have not noticed.

Thanks

Yakov

Reply via email to