[Webtest] Re: Invoke issue
Marc Guillemot
webtest@lists.canoo.com
Wed, 12 Jan 2005 16:40:51 +0100
The WARN is due to htmlunit and is irrelevant (and has now disappeared).
It seems that your js doesn't execute correctly. Have you tried setting the log to debug to get more information?
Marc.
Thierry Boullet wrote:
> 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