[Webtest] Different Errors

Bob Cyber Bob Cyber" <Bob.Cyber@gmx.at
Wed, 25 Jul 2007 14:09:10 +0200


Hi,


I have two questions:

First - 
There are different errors during my test cases:

Connection refused: connect

The server ... failed to respond

The server isn't very fast, so what can i do? I mean how can I configure my webtest that it waits till there is response???

<config
	...
	timeout="12000"
/> 

this doesn't help... and i have no idea what to do...

Second:
I am trying to make my own build of the webtest tool, but I do not get it running...

D:\WEBTEST_HOME\bin>webtest clean develop
"C:\Program Files\Java\jdk1.5.0_10\bin\java.exe" -Xms64M -Xmx256M -cp "D:\WEBTEST_HOME\bin\..\lib\ant-launcher
.jar" -Dant.library.dir="D:\WEBTEST_HOME\bin\..\lib" "-Dlog4j.configuration=file:/D:\WEBTEST_HOME\bin\..\lib/l
og4j.properties" org.apache.tools.ant.launch.Launcher -nouserlib -lib "D:\WEBTEST_HOME\bin\..\lib\build;D:\WEB
TEST_HOME\bin\..\lib\build\clover.jar" clean develop
Buildfile: build.xml does not exist!
Build failed
 ok there is no build.xml...

my next try:
D:\WEBTEST_HOME\src>webtest clean develop
"C:\Program Files\Java\jdk1.5.0_10\bin\java.exe" -Xms64M -Xmx256M -cp "D:\WEBTEST_HOME\bin\..\lib\ant-launcher
.jar" -Dant.library.dir="D:\WEBTEST_HOME\bin\..\lib" "-Dlog4j.configuration=file:/D:\WEBTEST_HOME\bin\..\lib/l
og4j.properties" org.apache.tools.ant.launch.Launcher -nouserlib -lib "D:\WEBTEST_HOME\bin\..\lib\build;D:\WEB
TEST_HOME\bin\..\lib\build\clover.jar" clean develop
Buildfile: build.xml
  [typedef] Could not load definitions from resource org/apache/maven/artifact/ant/antlib.xml. It could not be
 found.

BUILD FAILED
D:\WEBTEST_HOME\src\build.xml:19: Could not create task or type of type: urn:maven-artifact-ant:pom.

Ant could not find the task or a class this task relies upon.

what can i do to get this working: Could not load definitions from resource org/apache/maven/artifact/ant/antlib.xml. It could not be
 found.

where do i get the antlib.xml and where to put it???

hope somebody can follow me.

regards
cyberbob


-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger