[Webtest] continuing (tho different) install problems
Jeff Nielsen
webtest@lists.canoo.com
Wed, 28 Jan 2004 19:51:47 -0500
Lisa, I tried runnning your buildfile and noticed the following problems.
- protocol should be "http" not "http:"
- basepath should be "/" not "."
Also, I can't access http://www.lauracohn.com:8080/index.html from my web
browser. Are you sure this is a publicly available site?
Did you try the one I posted a minute ago? It runs for me.
Jeff Nielsen
p.s. I'm running with build #276, which is an older build.
----- Original Message -----
From: <lisa.crispin@att.net>
To: <webtest@lists.canoo.com>
Sent: Wednesday, January 28, 2004 5:31 PM
Subject: RE: [Webtest] continuing (tho different) install problems
> I got a very experienced Java programmer (actually, my boss) to help me.
We
> tried the example from "simple examples to give you a jump start" just
going
> against a simple website. We keep getting the error below, even though we
> have the url parameter and the stepid parameter. I'll put our sample and
the
> error message below. But what would really help is this:
>
> Does anyone on this list have a simple, WORKING example that runs against
any
> public website that I can use just to see Canoo work one time? We are
> getting a bit frustrated here, and my boss is ready to throw Canoo Webtest
> out before we even started. I have heard a lot of Canoo success stories,
it
> can't be that hard to get it to work!
>
> Here is the sample we tried (which is going against a publically available
> site):
>
> <project name="SimpleTest" basedir="." default="main">
> <taskdef file="c:/canoo/webtestTaskdefs.properties">
> <classpath>
> <fileset dir="c:/canoo" includes="**/lib/*.jar"/>
> </classpath>
> </taskdef>
> <target name="main">
> <testSpec name="myTest">
> <config
> host="www.lauracohn.com"
> port="8080"
> protocol="http:"
> basepath="." />
> <steps>
> <invoke stepid="step one"
> url="index.html"
> save="myResultPage" />
> </steps>
> </testSpec>
> </target>
> </project>
>
> Here's the error we get:
>
> Exception raised: com.canoo.webtest.engine.StepExecutionException:
Required
> para
> meter url not set!, Step: InvokePage at
> c:\canoo\doc\samples\LisaTest.xml:17: w
> ith (stepId="<unknown>", url="null", stepType="invoke")
> com.canoo.webtest.engine.
> StepExecutionException: Required parameter url not set!, Step: InvokePage
at
> c:\
> canoo\doc\samples\LisaTest.xml:17: with (stepId="<unknown>", url="null",
> stepTy
> pe="invoke")
> > hi,
> >
> > > -----Original Message-----
> > > box. Does
> > > Canoo Webtest work in Windows XP? I can't see why it wouldn't.
> >
> > I myself have it running on XP.
> >
> > > ant -version shows I am using version 1.5.2. My java version is
> > > 1.4.2. I
> > > can't change that, because the apps I am testing need it.
> >
> > That is all fine.
> >
> > As the http://webtest.canoo.com/manual/install.html says in the
> > "note:" section, the installtest with the file protocol sometimes
> > fails. We also have a number of postings in the mailinglist
> > that deal with this issue. In contrast to what is said on the
> > webpage, it is a jdk issue.
> >
> > You best replace "file" protocol with "http" and invoke a
> > well-known url in your intranet.
> >
> > cheers
> > Mittie
> > _______________________________________________
> > WebTest mailing list
> > WebTest@lists.canoo.com
> > http://lists.canoo.com/mailman/listinfo/webtest
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest