[Tsung] Sustained Load Capability

Nicolas Niclausse nicolas at niclux.org
Fri Jan 4 00:22:19 CET 2008


proteus guy a écrit :
>    First off I want to say congratulations & thanx for the really nice
> performance/capacity testing tool. 

thank you :)

>     I'm sitting here trying to think of how one might specify a load
> limit. The most apparent one that comes to me would be able to add a 
> max_users option to the users or arrivalphase attributes. You can
> specify this for a client already. Would it be difficult to add a new
> level of granularity for this parameter? Appreciate any ideas or
> suggestions.

Maybe it's possible to do something similar to that by using maxnumber (
<users maxnumber="100" ...)  and a bogus request at the end of each
sessions, to force the restart:

<request>
  <match do="restart" max_restart="1000" when="nomatch">NEVERMATCH</match>
  <http url='/void.html' method=GET'>
 </request>

every user will do it's session 1000 times because it never matches

If you have a single <arrivalphase>, you will have 100 users contiously
restarting sessions.

>     Again, thanx much for the great tool. Its quickly becoming my
> favorite. I'm considering doing some different automated graph
> generation of my own for comparing different test runs or being able to
> specify a fixed scale for particular graphs so consecutive runs will be
> easier to compare. If anyone's interested in this kind of thing I'll see
> if I can't release it here as well. I'm afraid my code's more likely to
> be in python rather than perl, however.

Maybe you can reuse the work of Dimitri Fontaine :
http://debian.dalibo.org/sid/tsung-ploter_0.1-1.tar.gz

It's not yet integrated into the main distribution, but it was done to
compare several runs of tsung (and it's written in python)

--
Nicolas


More information about the Tsung-users mailing list