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++)
threads[i] = new CMRTestThread(new CMRTest(session, jndiName, i % 2 == 0 ? "First" : "Second"));