GetMessageLogsResponseMsg res = (GetMessageLogsResponseMsg) params.get("fgsms.data"); TransactionLogData recordset = new TransactionLogData(); if (res != null && res.getLogs() != null && res.getLogs() != null && res.getLogs().getTransactionLog() != null && res.getLogs().getTransactionLog().size() > 0) { for (int i = 0; i < res.getLogs().getTransactionLog().size(); i++) { String action = res.getLogs().getTransactionLog().get(i).getAction(); int clip = 0; if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("/") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("/"); if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("}") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("}"); if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf(":") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf(":"); if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("#") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("#"); action = (res.getLogs().getTransactionLog().get(i).getAction().substring(clip + 1)); t2.ResponseTime = res.getLogs().getTransactionLog().get(i).getResponseTime(); t2.cal = res.getLogs().getTransactionLog().get(i).getTimestamp(); if (recordset.Contains(action)) { recordset.get(action).add(t2);
if (res!=null && res.getLogs() != null && res.getLogs() != null && res.getLogs().getTransactionLog() != null && res.getLogs().getTransactionLog().size() > 0) { for (int i = 0; i < res.getLogs().getTransactionLog().size(); i++) { String action = res.getLogs().getTransactionLog().get(i).getAction(); int clip = 0; if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("/") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("/"); if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("}") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("}"); if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf(":") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf(":"); if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("#") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("#"); action = (res.getLogs().getTransactionLog().get(i).getAction().substring(clip + 1)); if (res.getLogs().getTransactionLog().get(i).isIsFault()) { set.get(action).success++; } else { t.success = 0; t.failures = 0; if (res.getLogs().getTransactionLog().get(i).isIsFault()) { t.success++; } else {
&& res.getLogs().getTransactionLog() != null && res.getLogs().getTransactionLog().size() > 0) { out += ("<table border=1><tr>" + "<th>Action</th>" + "<th>SLA Violation</th>" + "<th>Details</th></tr>"); data = res.getLogs().getTransactionLog(); for (int i = 0; i < res.getLogs().getTransactionLog().size(); i++) { out += ("<tr "); colorflag = !colorflag; if (Utility.stringIsNullOrEmpty(res.getLogs().getTransactionLog().get(i).getAction())) { out += "NA</td><td>"; } else { out += (res.getLogs().getTransactionLog().get(i).getAction() + "</td><td>"); if (!res.getLogs().getTransactionLog().get(i).isIsFault()) { out += ("<font color=#FF0000><b>Fault</b></font>"); } else { out += ("Success"); out += ("</td><td>" + Utility.encodeHTML(ParseIdentities(res.getLogs().getTransactionLog().get(i).getIdentity())) + "</td><td>" + res.getLogs().getTransactionLog().get(i).getResponseTime() + "ms</td>"); out += ("<td>" + res.getLogs().getTransactionLog().get(i).getTimestamp().toString() + "</td><td>");
logs.getTransactionLog().add(tl);
logs.getTransactionLog().add(tl);