for (int i = 0; i < messages.length; i++) {
sum += messages[i].value();
}
try {
SCClient sc = new SCClient(TestConstants.HOST, TestConstants.PORT_SC0_HTTP);
sc.attach();
SCSessionService service = sc.newSessionService(TestConstants.sesServiceName1);
SCMessage scMessage = new SCMessage();
scMessage.setSessionInfo("sessionInfo");
service.createSession(300, scMessage, new TestSessionServiceMessageCallback(service));
response = service.execute(new SCMessage("executed"));