for (int j = 0; j < mNumberOfResources; j++)
{
//start transaction
startTx();
Service02 mService = new Service02(mNumberOfResources);
mService.dowork(mMaxIteration);
expectedCommitted += mMaxIteration / 2;
expectedRolledback += mMaxIteration / 2;
expectedNested += mMaxIteration;
expectedTx += mMaxIteration + 1;
if (j % 2 == 0)