target = 40;
completed = 0;
unexpected = null;
// Create some beans
StatelessSessionHome home = (StatelessSessionHome) new InitialContext().lookup("nextgen.StatelessSession");
StatelessSession session = home.create();
session.createCMRTestData(jndiName);
// Create some threads
CMRTestThread[] threads = new CMRTestThread[target];
for (int i = 0; i < target; i++)