Re: grinder JDBC parallel threads test
Gary Mulder <[email protected]> Tue, 25 Nov 2014 12:06:11 +0000
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <CAKy9zTASrx4n9wA8NpgFD75WjVpe8=fkOn3e-8djnc7a49hv5w@mail.gmail.com> |
On 24 November 2014 at 18:47, Olivier <[email protected]> wrote: > Hi, > Use a modulo 25 on grinder.threadNumber to spread treatment > Olivier > if (grinder.threadNumber % 2 == 0): # Even threadNumber # Do insert else: # Odd threadNumber # Do select ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ grinder-use mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/grinder-use