1 25 package org.objectweb.easybeans.tests.stress.invocation; 26 27 import org.objectweb.easybeans.tests.common.resources.EJBInjectionInvocationMaker; 28 import org.testng.annotations.Test; 29 30 37 public class TestInvocation { 38 39 42 public static final int NUMBER_CLIENTS = 100; 43 44 47 public static final int NUMBER_LOOKUPS = 100; 48 49 53 @Test 54 public void testLookup() throws Exception { 55 for (int i = 0; i < NUMBER_CLIENTS; i++) { 56 new EJBInjectionInvocationMaker(NUMBER_LOOKUPS).start(); 57 } 58 } 59 60 } 61 | Popular Tags |