[Webtest] Login for SSL
Siegfried Göschl
webtest@lists.canoo.com
Sat, 05 Apr 2003 12:22:33 +0200
Hi Matt,
IMHO you can just use the <property file=""> task to load your
ApplicationResources.properties and reference it within the ANT
script.
Or something more sophisticated would be a pre-processing step using
the ANT <copy> task with filtering to replace tokens in the copied
file.
Cheers,
Siegfried Goeschl
On 4 Apr 2003 at 13:05, Matt Raible wrote:
> > Hi Matt,
> >
> > I got Canoo WebTest Build 255 & 276 running with SSL and Basic
> > Authentication. Since I always forget the details I wrote some
> > documentation you find at
> >
> > http://212.186.79.132/webtest/index.html
> >
>
> Cool - I'll try that. I'm assuming I should be able to define these
> properties as part of my Ant task:
>
> <property name="webtest.connectioninitializer"
> value="com.canoo.webtest.security.SunJsseBaseConnectionIni
> tializer"/>
> <property name="webtest.truststore.file"
> value="${user.home}/.keystore"/>
>
>
> >
> > Cheers,
> >
> > Siegfried Goeschl
> >
> > BTW - Still using JUNITPP?!
> >
>
> Nope, I'm not using it at the current moment - I'm just hard-coding my
> values into my tests and then using db-unit to make sure the database
> stays the same.
>
> Here's another question for this list - is it possible to put values
> from a .properties file into a webtest.xml file? I'm using Struts and
> I want to verify titles with my ApplicationResources.properties file.
>
> Thanks,
>
> Matt
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>