9 messages in com.canoo.lists.webtestRe: [Webtest] JavaScript error loadin...
FromSent OnAttachments
Test BCN25 Jan 2008 03:44 
Marc Guillemot25 Jan 2008 04:01 
Test BCN25 Jan 2008 04:16 
Marc Guillemot25 Jan 2008 04:22 
Test BCN25 Jan 2008 04:27 
Marc Guillemot25 Jan 2008 04:42 
Test BCN25 Jan 2008 04:47 
Marc Guillemot25 Jan 2008 05:48 
Test BCN25 Jan 2008 05:52 
Subject:Re: [Webtest] JavaScript error loading page
From:Test BCN (test@gmail.com)
Date:01/25/2008 04:16:10 AM
List:com.canoo.lists.webtest

JavaScript error loading page
http://www.fotocasa.es/search/results.aspx?t=118121348&tq=118121348&l=&tti=3&bti=2&opi=36: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped java.lang.RuntimeException: The request body may only be set for POST requests! (http://www.fotocasa.es/Scripts/Ajax2.js#72) (
http://www.fotocasa.es/resourceHandler.ashx?v=1.128&fileSet=results&type=application/x-javascript#491 ) Details javascript errorWrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped java.lang.RuntimeException: The request body may only be set for POST requests! (http://www.fotocasa.es/Scripts/Ajax2.js#72) (
http://www.fotocasa.es/resourceHandler.ashx?v=1.128&fileSet=results&type=application/x-javascript#491 ) line491 javascript sourcefunction () { [native code, arity=0] } failing line javascript call stackWrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped java.lang.RuntimeException: The request body may only be set for POST requests! (http://www.fotocasa.es/Scripts/Ajax2.js#72) (
http://www.fotocasa.es/resourceHandler.ashx?v=1.128&fileSet=results&type=application/x-javascript#491) at ViewDetail(
http://www.fotocasa.es/resourceHandler.ashx?v=1.128&fileSet=results&type=application/x-javascript:491) at (onclick event for HtmlUnorderedList[<ul onclick="this.className=&apos;clicked&apos;; ViewDetail(&apos;/anuncio-apartamento-alquiler/pontevedra-c/test-det__118121348- 1-3-2-724-12-36-38-0-36038-36003.aspx?opi=1&amp;llci=0&apos;, &apos;118121348&apos;, &apos;1&apos;); return false;">]:1)

On Jan 25, 2008 1:01 PM, Marc Guillemot <mgui@yahoo.fr> wrote:

Test BCN wrote:

I've just started with webtest. I tried out the demos and worked fine. On my first webtest I got the following problem, and I don't know if this has a solution or not.

I have the following error on a clickLink action Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped java.lang.RuntimeException: The request body may only be set for POST requests!

strange. Can you provide the full stack trace?

Cheers, Marc. -- Blog: http://mguillem.wordpress.com