Re: Re: WebTest digest, Vol 1 #3120 - 1 msg

Beat Koch <[email protected]>
Newsgroups gmane.comp.web.canoo.webtest
Message-ID <[email protected]>
Hi Mato,

It seems that you've run into the same kind of trouble that I did. I've reported a memory leak with the latest Webtest version a couple of months ago (see http://lists.canoo.com/pipermail/webtest/2010q4/013544.html). As far as I've understood it, the problem is somewhere in the HTMLUnit libraries and can not really be fixed with anything that you can do in Webtest. Unfortunately, I haven't found a solution and I had to move on to other things. Maybe one of the developers of Webtest / HTMLUnit will eventually find time to implement an update, let's hope for the best.

Regards,
Beat


Am 20.01.2011 um 13:52 schrieb Mato:

> Hi,
> 
> I see that the canoo uses a lot of memory (cca 70 tests in parallel by 5
> tests  - it uses more than 1GB).
> 
> My question is: How can I close the last browser's window (e.g. the test
> is going to finish and as last step I would like to close the
> "browser"). And how can I open the first browser's window (e.g. when
> test is start).
> Or is the last window closed by self or canoo? If yes then question:
> when is the last window closed?
> Because I'm not sure but it seems to me that the last windows of all
> projects are closed after the results are created. And they consume the
> memory whole time.
> 
> I try to use <closeWindow /> as the last command before </steps>
> but I get:  java.util.EmptyStackException (but without the stack trace.)
> 
> So I don't know how can I reduce the memory use of tests and prevent
> outofmemory problem. And I'm not sure that increse settings in JAVA_OPS
> is the best solution.
> 
> Regards,
> Mato
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.