[Webtest] Maven plugin not working
David Garnier
webtest@lists.canoo.com
30 Jan 2003 21:55:49 +0100
--=-Y+23ygaLPq8bhDcPBxbw
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hello,
I'm trying to use the Maven plugin in order to run automated tests on my
webapp. Long story short, it doesn't work. I downloaded the
maven-webtest-plugin-05 from SourceForge and installed it in the plugins
dir. Maven picked it up OK, but when I try to run "maven webtest" in the
directory of the project, I get the following error message:=20
[java] BUILD FAILED
[java] Target `' does not exist in this project.
(Complete log attached below).
I put the error message into Google, and I got back an interesting hint:
http://aft.sourceforge.net/faq.html So it looks like it's related to
ant. Before I dig further, does anyone has a solution ?
I'm using maven-B7, and I did tweak one or two libraries (like werkz) in
order to fix bugs.=20
Otherwise, Canoo looks like what I want to do, especially since it seems
accessible to non-programmers (unlike HttpUnit and Latka).
Best Regards,
David Garnier
/home/david/awas/maven-1.0-beta-7/plugins/maven-webtest-plugin-0.5
webtest:
webtest:clean:
[delete] Deleting:
/home/david/awas/maven-1.0-beta-7/plugins/maven-webtest-plugin-0.5/target/w=
ebtest-raw-report.xml
[delete] Deleting:
/home/david/awas/maven-1.0-beta-7/plugins/maven-webtest-plugin-0.5/target/g=
enerated-xdocs/webtest-report.xml
[delete] Deleting:
/home/david/awas/maven-1.0-beta-7/plugins/maven-webtest-plugin-0.5/target/d=
ocs/webtest-report.html
webtest:info:
[echo]
maven.webtest.file =3D *.xml
maven.webtest.target =3D
maven.webtest.src =3D
/home/david/awas/maven-1.0-beta-7/plugins/maven-webtest-plugin-0.5/webtest
maven.webtest.config.host =3D localhost
maven.webtest.config.port =3D 80
maven.webtest.config.protocol =3D http
maven.webtest.config.basepath =3D
maven.webtest.config.summary =3D true
maven.webtest.config.verbose =3D true
maven.webtest.config.saveresponse =3D true
maven.webtest.config.resultpath =3D
/home/david/awas/maven-1.0-beta-7/plugins/maven-webtest-plugin-0.5/target/w=
ebtest
maven.webtest.config.resultfile =3D
maven.webtest.jar.fileset.dir =3D
maven.webtest.jar.fileset.include =3D
maven.webtest.jar.fileset.exclude =3D
webtest:test:
[echo] Starting Canoo Webtest ...
[echo] Processing sample.xml
[java] Buildfile:
/home/david/awas/maven-1.0-beta-7/plugins/maven-webtest-plugin-0.5/webtest/=
sample.xml
[java]
[java] BUILD FAILED
[java] Target `' does not exist in this project.
[java]
[java] Total time: 2 seconds
[java] [ERROR] Java Result: 1
[echo] Finished running Canoo Webtest Plugin
--=20
David Garnier <david.garnier@etudier-online.com>
--=-Y+23ygaLPq8bhDcPBxbw
Content-Type: application/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Pour information voir http://www.gnupg.org
iD8DBQA+OZFVXAu85lGCnRURAov5AJ0RN4qsq6M6IU0mwNWi/18Mo82dNACgszMj
a5Sm153+mxj3uDi5XnjRPO0=
=/CRa
-----END PGP SIGNATURE-----
--=-Y+23ygaLPq8bhDcPBxbw--