String lastMsgID = jmsMessage.getCoreMessage().getUserID().toString();
String jsonStr = control.listConnectionsAsJSON();
JMSConnectionInfo[] infos = JMSConnectionInfo.from(jsonStr);
JMSConnectionInfo connInfo = infos[0];
String sessionsStr = control.listSessionsAsJSON(connInfo.getConnectionID());
JMSSessionInfo[] sessInfos = JMSSessionInfo.from(sessionsStr);
assertTrue(sessInfos.length > 0);
boolean lastMsgFound = false;
for (JMSSessionInfo sInfo : sessInfos)