can you provide the java call stack you see on the console too? Is your test made on a public site? If yes, can you provide it as well. Last question: do you use a recent build?
Marc. -- Blog: http://mguillem.wordpress.com Test BCN wrote: > JavaScript error loading page > http://www.fotocasa.es/search/results.aspx?t=118121348&tq=118121348&l=&tti=3&bti=2&opi=36 > <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 > <http://www.fotocasa.es/resourceHandler.ashx?v=1.128&fileSet=results&type=application/x-javascript#491>) > > Details > javascript error 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 > <http://www.fotocasa.es/resourceHandler.ashx?v=1.128&fileSet=results&type=application/x-javascript#491>) > > line 491 > javascript source function () { [native code, arity=0] } > failing line > javascript call stack 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 > <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 > <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='clicked'; > ViewDetail('/anuncio-apartamento-alquiler/pontevedra-c/test-det__118121348-1-3-2-724-12-36-38-0-36038-36003.aspx?opi=1&llci=0', > '118121348', '1'); return false;">]:1) > > > > > On Jan 25, 2008 1:01 PM, Marc Guillemot <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> 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 > > _______________________________________________ > WebTest mailing list > [email protected] <mailto:[email protected]> > http://lists.canoo.com/mailman/listinfo/webtest > > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

