Re: (no subject)

Philip Aston <[email protected]>
Newsgroups gmane.comp.java.grinder.user
Message-ID <[email protected]>
On 10/10/13 11:42, Salma Bouriat wrote:
> Hey all,
> I have two questions:
>
> - what is the best way to run multiple simultaneous users ? run many
> threads or many processes ?

Start with threads.
http://grinder.sourceforge.net/faq.html#threads-vs-processes

>
> - which part of the code is run for every process ? because i need to
> have multiple users picked randomly, and in order to avoid repetition
> I want to store them in a list from which users are deleted once the
> task is accomplished

This may help:
http://grinder.sourceforge.net/g3/script-gallery.html#scriptlifecycle.py

- Phil



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.