public void testEchoXMLSync() throws Exception {
int numberOfThreads = 5;
InvokerThread[] invokerThreads = new InvokerThread[numberOfThreads];
for (int i = 0; i < numberOfThreads; i++) {
InvokerThread invokerThread = new InvokerThread(i + 1);
invokerThreads[i] = invokerThread;
invokerThread.start();
}
boolean threadsAreRunning;
Calendar cal = new GregorianCalendar();
int min = cal.get(Calendar.MINUTE);