[Tsung] looping [was:Re:backend and fullstats]

philippe vanderstraeten phvander at gmail.com
Wed May 14 15:12:14 CEST 2008


Sorry, I forgot the parameters:
-define(DELAYED_WRITE_SIZE,524288). % 512KB
-define(DELAYED_WRITE_DELAY,30000). % 30 sec

But as if I understand, if the erlang before the next fullstats dump we
loose the last statistics. Am I right ?
Thanks

On Wed, May 14, 2008 at 1:46 PM, philippe vanderstraeten <phvander at gmail.com>
wrote:

> Hello,
>
> I am still confused about the loop syntaxe.
> I just run a test with revision 850 on a scenario with
> fbackend="fullstats" option.
>
> Here is the loop part:
>
> <for from="1" to="10" incr="1" var="counter">
>     <transaction name="trx_search_all_clients">
>         <request><http
> url='/myapp-web-intranet-t/secure/clients/rechercheclientcontrat.do'
> version='1.1'
> contents='dirtyModeActivated=false&amp;dirty=false&amp;dirtyCommand=false&amp;anchor=&amp;criteresRechercheClient.numeroClient=&amp;criteresRechercheClient.raisonSociale=&amp;criteresRechercheClient.nomClient=&amp;criteresRechercheClient.motDirecteur=&amp;criteresRechercheClient.codePostal=&amp;criteresRechercheClient.localite=&amp;criteresRechercheClient.nomHierarchie1=&amp;criteresRechercheClient.nomHierarchie2=&amp;criteresRechercheClient.numeroClientPayeur=&amp;criteresRechercheClient.identifiantNationalSIREN=&amp;criteresRechercheClient.rattachementCommercial1=&amp;criteresRechercheClient.rattachementCommercial2=&amp;criteresRechercheClient.accountManager=&amp;criteresRechercheClient.listeStatuts=AC&amp;criteresRechercheClient.dateModificationDebut=&amp;criteresRechercheClient.dateModificationFin=&amp;=Rechercher&amp;method=rechercher'
> content_type='application/x-www-form-urlencoded'
> method='POST'></http></request>
>         <request><http
> url='/myapp-web-intranet-t/commons/js/navigation.jsp' version='1.1'
> method='GET'></http></request>
>         <request><http url='/myapp-web-intranet-t/commons/js/utils.jsp'
> version='1.1' method='GET'></http></request>
>         <request><http
> url='/myapp-web-intranet-t/commons/js/affichage.jsp' version='1.1'
> method='GET'></http></request>
>         <request><http url='/myapp-web-intranet-t/commons/js/ajax.jsp'
> version='1.1' method='GET'></http></request>
>         <request><http
> url='/myapp-web-intranet-t/commons/images/arrow_off.gif' version='1.1'
> method='GET'></http></request>
>     </transaction>
> </for>
>
> The file tsung-fullstats.log is empty. Is that normal ?
> Thanks
>
>
> On Wed, May 14, 2008 at 10:19 AM, Nicolas Niclausse <nicolas at niclux.org>
> wrote:
>
> > philippe vanderstraeten ecrivait le 30.04.2008 10:13:
> >
> > > Hi,
> > >
> > > Is there a way to get unconditionnal loop ?
> > >
> >
> >
> > You can use the <for> from Pablo's patch.
> >
> > more info in:
> > https://support.process-one.net/browse/TSUN-62
> >
> > This patch is now applied in the svn (rev 850).
> > I added a max_repeat and repeat name:
> >
> >     <repeat name="testrepeat" max_repeat="4">
> >        <transaction name="trx_mesure">
> >            <request>
> >                <http url='/myapp/Calibrage?pagelen=8192' version='1.1'
> > method='GET'></htt
> > p>
> >            </request>
> >        </transaction>
> >        <transaction name="trx_dummy2">
> >            <request>
> >              <dyn_variable name="mytitlevar"
> >                    regexp="&lt;title&gt;\(.*\)&lt;/title&gt;"/>
> >                <http url='/' version='1.1' method='GET'></http>
> >            </request>
> >        </transaction>
> >        <until var="mytitlevar" eq="Test Page for the Apache HTTP Server
> > on Fedora"/>
> >     </repeat>
> >
> >
> > --
> > Nicolas
> > _______________________________________________
> > Tsung-users mailing list
> > Tsung-users at lists.process-one.net
> > https://lists.process-one.net/mailman/listinfo/tsung-users
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20080514/4f5ac8ee/attachment.html


More information about the Tsung-users mailing list