public void testInVMLocalCalls() throws Exception
{
getLog().debug("+++ testInVMLocalCalls()");
Object obj = getInitialContext().lookup("PerfTestSession");
obj = PortableRemoteObject.narrow(obj, PerfTestSessionHome.class);
PerfTestSessionHome home = (PerfTestSessionHome) obj;
getLog().debug("Found PerfTestSessionHome @ jndiName=PerfTestSessionHome");
PerfTestSession bean = home.create();
getLog().debug("Created PerfTestSession");
long start = System.currentTimeMillis();
PerfResult result = bean.runProbeLocalTests(iterationCount);
String report = result.report;
long end = System.currentTimeMillis();