private String numOfCalls = "10000";
// private String numOfCalls = "1000000";
public void profilerTest() throws Throwable
{
PerformanceServerTest server = new PerformanceServerTest();
server.setUp();
System.out.println("Server setup");
System.setProperty(PerformanceTestCase.NUMBER_OF_CALLS, numOfCalls);
System.setProperty(PerformanceTestCase.REMOTING_METADATA, "foo=bar");
PerformanceClientTest client = new PerformanceClientTest();
client.setUp();
System.out.println("Client setup");
client.testClientCalls();
System.out.println("Done with testing client calls");
client.tearDown();
server.tearDown();
}