uploader.setSleepPeriod(0);
Thread.sleep(30 * 100 * 1000);
}
private MessageTree newMessageTree(int i, long timestamp) {
MessageTree tree = new DefaultMessageTree();
tree.setDomain("domain");
tree.setHostName("hostName" + i);
tree.setIpAddress("ipAddress" + i);
tree.setMessageId(String.valueOf(i));
tree.setParentMessageId("parentMessageId" + i);
tree.setRootMessageId("rootMessageId" + i);
tree.setSessionToken("sessionToken");
tree.setThreadGroupName("threadGroupName");
tree.setThreadId("threadId" + i);
tree.setThreadName("threadName");
tree.setMessage(newTransaction("type", "name" + i, timestamp, "0", 123456 + i, "data" + i));
return tree;
}