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

Nicolas Niclausse nicolas at niclux.org
Wed May 14 10:19:11 CEST 2008


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


More information about the Tsung-users mailing list