Re: set parallel threads python script error

Gary Mulder <[email protected]> Fri, 28 Nov 2014 14:32:03 +0000
Newsgroups gmane.comp.java.grinder.user
Message-ID <CAKy9zTD+6UFHCtBV0d_vVehb5poz+9vmUAXwKgOjg_h2nDcMZQ@mail.gmail.com>
        if (grinder.threadNumber % 2 == 0):
             # Even threadNumber
             # Do insertStatement
        else:
             # Odd threadNumber
             # Do queryStatement

The above was pseudo code and not Jython. You need to move your SQL calls
into the if / else statement.

Regards,
Gary

------------------------------------------------------------------------------
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