[Tsung] how can i creat a loop of request?
Matteo
mcanato at gmail.com
Sat May 24 09:59:13 CEST 2008
mmm....i will try this trick monday!
thanks for the info!
M.Canato
On Fri, May 23, 2008 at 11:16 PM, Pablo Polvorin <ppolv at yahoo.com.ar> wrote:
> Hi,
> I think that currently it isn't possible to repeat a
> set of request until a timeout expires.
>
> In your case, I would try to do it as a loop of 100
> repetitions, with a 3 seg thinktime between each loop
> =~ 5min.
>
> Depending on what are you trying to repeat, you could
> implement that using the "loop" attribute (section
> 8.6.7 of the manual), or using the the <for> construct
> and include a <thinktime> of 3 seg inside the loop,
> something like
> <for var="count" from="1" to="100">
> [...your requests ...]
> <thinktime value="3"></thinktime>
> </for>
>
> regards,
> pablo
>
>
>
>
> --- Matteo <mcanato at gmail.com> escribió:
>
> > Hi to all,
> > i've solved the problems that i had found a few days
> > ago, about how to write
> > a plugin for my own protocol.
> >
> > Now i would like to create a sort of "timed-loop". I
> > have this situation:
> > - there are 2 types of connection A and B at my
> > server
> > - for connection A, i've to send every 3 seconds a
> > message to the server for
> > 5 minutes (the entire, and time-limitated, duration
> > of the connection A).
> > Then i can kill the client and close connection A.
> > - for connection B, i've to send every 2 seconds a
> > message to the server for
> > 2 minutes (the entire, and time-limitated, duration
> > of the connection B).
> > Then i can kill the client and close connection B.
> >
> >
> > Any help in order to do this?
> >
> > Best regards,
> > M.Canato
> > > _______________________________________________
> > Tsung-users mailing list
> > Tsung-users at lists.process-one.net
> >
> https://lists.process-one.net/mailman/listinfo/tsung-users
> >
>
>
>
> Tarjeta de crédito Yahoo! de Banco Supervielle.
> Solicitá tu nueva Tarjeta de crédito. De tu PC directo a tu casa.
> www.tuprimeratarjeta.com.ar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20080524/07d3f35a/attachment.html
More information about the Tsung-users
mailing list