Re: [Grinder-use] Load Testing Scripts Distribution Ratio (Parallel Execution)
Distributed load testing framework - Java, Jython, or Clojure scripts.
Brought to you by:
philipa
From: Trilok K. <tri...@gm...> - 2008-07-28 10:36:45
|
In short, http://grinder.sourceforge.net/g3/script-gallery.html#parallel This is probably the most frequently asked question here. Search the achives and you will find more detailed answers. However, if you are looking for ways to get the right distribution of threads according to the given probablities, you need a probability switch. Similar to the modulo trick in the example above that uses a thread ID, you can use a random number to simulate throw of dice and select a script, and create atestrunner for that selected script. Regards, Trilok On Mon, Jul 28, 2008 at 2:32 PM, dhinakar k <dhi...@gm...> wrote: > Dear Grinder Users, > > I have 10 *.py (jython) scripts each covering a few scenarios that I want > to load test. I have been asked to distribute them as per the ratio given > below:- > > 1.py -> 22% > 2.py -> 17% > 3.py -> 12% > 4.py -> 11% > 5.py -> 10% > 6.py -> 8% > 7.py -> 7% > 8.py -> 4% > 9.py -> 4% > 10.py -> 4% > > How to achieve this in grinder if I want to run these 10 scripts in the > above mentioned ratios parallely? > > Thanks in advance, > > Regards, > > Dhinakar > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > grinder-use mailing list > gri...@li... > https://lists.sourceforge.net/lists/listinfo/grinder-use > > |