[Webtest] Invoke issue
Thierry Boullet
webtest@lists.canoo.com
Wed, 12 Jan 2005 16:32:18 +0100
Hi,
I'm using WebTest build R_649 and when I use the "invoke" step I obtain
1 Warning and 1 Error :
[testSpec] WARN (org.apache.commons.httpclient.HttpMethodBase) - Going
to buffer response body of large or unknown size. Using
getResponseAsStream instead is recommended.
[testSpec] ERROR (com.canoo.webtest.steps.request.Target) -
ScriptException: enclosed exception was "La propriÚtÚ est introuvable"
("La propriÚtÚ est introuvable" = "Property not found")
After the installation of WebTest, I executed "ant -buildfile
installTest.xml" and I obtained "BUILD SUCCESSFUL".
I modified the file "installTest.xml" with :
<config
host="pctest"
port="80"
protocol="http"
basepath=""
summary="false"
saveresponse="false"
resultpath="${resultpath}"
resultfile="${resultfile}"
haltonfailure="true"
haltonerror="true"
showhtmlparseroutput="true"
/>
and
<invoke
stepid="get my site"
url="login.php"/>
The size of the page "login.php" is 11 Kb.
When I execute "ant -buildfile installTest.xml" I obtain the Warning and
the error above.
Ideas?
Thanks in advance
Thierry Boullet