Hi,

I am load testing an ICEfaces application with WebTest.
The tests succeed until the application server’s JVM runs out of memory. The used heap is increasing continuously. Regarding to http://www.icefaces.org/JForum/posts/list/13140.page the JS onunload handler must be called to avoid a memory leak. Normally this is done by the browser when closing the page, etc. But does WebTest/HtmlUnit also take care of it? I started investigating the source code of HtmlUnit, however it seems to me that no such handler exists. There is the OnbeforeunloadHandler which is implemented only in a HtmlPageTest test case. I am using WebTest R_1768. I’ll try to include a invoke step in my test to call http://<contextRoot>//block/dispose-views <http://%3ccontextRoot%3e/block/dispose-views>. Do you have any other suggestions?


Bye, Stefan
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to