[Webtest] memory allocation

Dierk Koenig webtest@lists.canoo.com
Tue, 20 Jun 2006 23:07:03 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C694BE.3E2AB080
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Really odd numbers.

Things that cross my mind:
- very slow server ?
- any location on a mapped/encrypted/compressed drive ?
- Virusscan/Google Desktop or else slowing down file access ?
- multiple taskdefs throughout the tests ?

cheers
Mittie
  -----Original Message-----
  From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of Luiz Fernando Rodrigues
  Sent: Dienstag, 20. Juni 2006 20:25
  To: webtest@lists.canoo.com
  Subject: Re: [Webtest] memory allocation


  Hi Mittie,

    It executes 384 steps in 84 webtests tags. I realised that my tests were
not logging out. After modifying it to logout it's a little bit faster: 7
minutes ;-) But it should be done in about 2 minutes, isn't it?
    It's the first time I'm using webtest and I'm using it through appfuse.
The test-report tag only generates the reports for the j-unit testing, do
you know how do I generate the reports for the web-tests?

  Thanks,
  Luiz



  2006/6/19, Luiz Fernando Rodrigues <emaildolf@gmail.com>:
    Hi,

      It's consuming about 500MB and its taking about 10 minutes to execute.
I don't have my xml file right now, but tomorrow morning I'll answer how
many steps I'm using. Usually the steps are becoming slowly as the script is
executed.

    cheers,
    Luiz


    2006/6/17, Dierk Koenig <dierk.koenig@canoo.com>:
      Hi Luiz,

      welcome to Canoo WebTest.

      How much MBs of memory is that? How many tests (steps) do you have?
How long do they take to execute?
      Looking at the generated reports, which steps have an usual long
'duration'?

      With a quickly responding server, Canoo WebTest executes about 200
server roundtrips per minute, see
      http://webtest.canoo.com/webtest/reports/selftest/WebTestReport.html

      cheers
      Mittie
        -----Original Message-----
        From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of Luiz Fernando Rodrigues
        Sent: Freitag, 16. Juni 2006 23:23
        To: webtest@lists.canoo.com
        Subject: [Webtest] memory allocation


        Hello,

          I'm using canoo webtest in my application and it's taking a lot of
time to execute. The problem is that the test allocates several MB of memory
slowing the execution. Why does the tests has to allocate so much memory? Is
there somehow to flush this allocated memory to make the execution faster?

        Thanks,
        Luiz





------=_NextPart_000_000F_01C694BE.3E2AB080
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D301120021-20062006><FONT face=3DArial color=3D#0000ff =
size=3D2>Really=20
odd numbers.</FONT></SPAN></DIV>
<DIV><SPAN class=3D301120021-20062006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D301120021-20062006><FONT face=3DArial color=3D#0000ff =
size=3D2>Things=20
that cross my mind:</FONT></SPAN></DIV>
<DIV><SPAN class=3D301120021-20062006><FONT face=3DArial color=3D#0000ff =
size=3D2>- very=20
slow server ?</FONT></SPAN></DIV>
<DIV><SPAN class=3D301120021-20062006><FONT face=3DArial color=3D#0000ff =
size=3D2>- any=20
location on a mapped/encrypted/compressed drive ? </FONT></SPAN></DIV>
<DIV><SPAN class=3D301120021-20062006><FONT face=3DArial color=3D#0000ff =
size=3D2>-=20
Virusscan/Google Desktop or else&nbsp;slowing down file access=20
?</FONT></SPAN></DIV>
<DIV><SPAN class=3D301120021-20062006><FONT face=3DArial color=3D#0000ff =
size=3D2>-=20
multiple taskdefs throughout the tests ?</FONT></SPAN></DIV>
<DIV><SPAN class=3D301120021-20062006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D301120021-20062006><FONT face=3DArial color=3D#0000ff =

size=3D2>cheers</FONT></SPAN></DIV>
<DIV><SPAN class=3D301120021-20062006><FONT face=3DArial color=3D#0000ff =

size=3D2>Mittie</FONT></SPAN></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]<B>On=20
  Behalf Of </B>Luiz Fernando Rodrigues<BR><B>Sent:</B> Dienstag, 20. =
Juni 2006=20
  20:25<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> Re: =
[Webtest]=20
  memory allocation<BR><BR></FONT></DIV>Hi Mittie,<BR><BR>&nbsp; It =
executes 384=20
  steps in 84 webtests tags. I realised that my tests were not logging =
out.=20
  After modifying it to logout it's a little bit faster: 7 minutes ;-) =
But it=20
  should be done in about 2 minutes, isn't it? <BR>&nbsp; It's the first =
time=20
  I'm using webtest and I'm using it through appfuse. The test-report =
tag only=20
  generates the reports for the j-unit testing, do you know how do I =
generate=20
  the reports for the web-tests?<BR><BR>Thanks, <BR>Luiz<BR>&nbsp; =
<BR><BR>
  <DIV><SPAN class=3Dgmail_quote>2006/6/19, Luiz Fernando Rodrigues =
&lt;<A=20
  =
href=3D"mailto:emaildolf@gmail.com">emaildolf@gmail.com</A>&gt;:</SPAN>
  <BLOCKQUOTE class=3Dgmail_quote=20
  style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: =
rgb(204,204,204) 1px solid">
    <DIV>
    <DIV>Hi,</DIV>
    <DIV>&nbsp;</DIV>
    <DIV>&nbsp; It's consuming about 500MB and its taking about 10 =
minutes to=20
    execute. I don't have my xml file right now, but tomorrow morning =
I'll=20
    answer how many steps I'm using. Usually the steps are becoming =
slowly as=20
    the script is executed. </DIV>
    <DIV>&nbsp;</DIV>
    <DIV>cheers,</DIV>
    <DIV>Luiz<BR><BR>&nbsp;</DIV>
    <DIV><SPAN class=3Dgmail_quote>2006/6/17, Dierk Koenig &lt;<A=20
    onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
    href=3D"mailto:dierk.koenig@canoo.com"=20
    target=3D_blank>dierk.koenig@canoo.com</A>&gt;:</SPAN> </DIV>
    <DIV><SPAN class=3De id=3Dq_10beedc2818bb4d6_1>
    <BLOCKQUOTE class=3Dgmail_quote=20
    style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: =
rgb(204,204,204) 1px solid">
      <DIV>
      <DIV>
      <DIV><SPAN><FONT face=3DArial color=3D#0000ff size=3D2>Hi=20
      Luiz,</FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=3DArial color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN><FONT face=3DArial color=3D#0000ff size=3D2>welcome to =
Canoo=20
      WebTest.</FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=3DArial color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN><FONT face=3DArial color=3D#0000ff size=3D2>How much =
MBs of memory is=20
      that? How many tests (steps) do you have? How long do they take to =

      execute?</FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=3DArial color=3D#0000ff size=3D2>Looking at =
the generated=20
      reports, which steps have an usual long =
'duration'?</FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=3DArial color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN><FONT face=3DArial color=3D#0000ff size=3D2>With a =
quickly responding=20
      server, Canoo WebTest executes about 200 server roundtrips per =
minute,=20
      see</FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=3DArial color=3D#0000ff size=3D2><A=20
      onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
      =
href=3D"http://webtest.canoo.com/webtest/reports/selftest/WebTestReport.h=
tml"=20
      =
target=3D_blank>http://webtest.canoo.com/webtest/reports/selftest/WebTest=
Report.html=20
      </A></FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=3DArial color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN><FONT face=3DArial color=3D#0000ff=20
size=3D2>cheers</FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=3DArial color=3D#0000ff=20
      size=3D2>Mittie</FONT></SPAN></DIV></DIV>
      <DIV><SPAN>
      <BLOCKQUOTE=20
      style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: =
rgb(0,0,255) 2px solid">
        <DIV dir=3Dltr align=3Dleft><FONT face=3DTahoma =
size=3D2>-----Original=20
        Message-----<BR><B>From:</B> <A=20
        onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
        href=3D"mailto:webtest-admin@lists.canoo.com"=20
        target=3D_blank>webtest-admin@lists.canoo.com </A>[mailto:<A=20
        onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
        href=3D"mailto:webtest-admin@lists.canoo.com"=20
        target=3D_blank>webtest-admin@lists.canoo.com</A>]<B>On Behalf =
Of </B>Luiz=20
        Fernando Rodrigues<BR><B>Sent: </B>Freitag, 16. Juni 2006=20
        23:23<BR><B>To:</B> <A=20
        onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
        href=3D"mailto:webtest@lists.canoo.com"=20
        target=3D_blank>webtest@lists.canoo.com</A><BR><B>Subject:</B> =
[Webtest]=20
        memory allocation <BR><BR></FONT></DIV>Hello,<BR><BR>&nbsp; I'm =
using=20
        canoo webtest in my application and it's taking a lot of time to =

        execute. The problem is that the test allocates several MB of =
memory=20
        slowing the execution. Why does the tests has to allocate so =
much=20
        memory? Is there somehow to flush this allocated memory to make =
the=20
        execution faster? =
<BR><BR>Thanks,<BR>Luiz<BR></BLOCKQUOTE></SPAN></DIV>
      <DIV></DIV></DIV></BLOCKQUOTE></SPAN></DIV>
    =
<DIV></DIV><BR></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000F_01C694BE.3E2AB080--