[Tsung] looping [was:Re:backend and fullstats]
philippe vanderstraeten
phvander at gmail.com
Wed May 14 13:46:32 CEST 2008
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&dirty=false&dirtyCommand=false&anchor=&criteresRechercheClient.numeroClient=&criteresRechercheClient.raisonSociale=&criteresRechercheClient.nomClient=&criteresRechercheClient.motDirecteur=&criteresRechercheClient.codePostal=&criteresRechercheClient.localite=&criteresRechercheClient.nomHierarchie1=&criteresRechercheClient.nomHierarchie2=&criteresRechercheClient.numeroClientPayeur=&criteresRechercheClient.identifiantNationalSIREN=&criteresRechercheClient.rattachementCommercial1=&criteresRechercheClient.rattachementCommercial2=&criteresRechercheClient.accountManager=&criteresRechercheClient.listeStatuts=AC&criteresRechercheClient.dateModificationDebut=&criteresRechercheClient.dateModificationFin=&=Rechercher&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="<title>\(.*\)</title>"/>
> <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/d5ca135f/attachment.html
More information about the Tsung-users
mailing list