surl = ((HTTPSampleResult) sample).getURL();
}
// String rescontent = new String(sample.getResponseData());
if (sample.getResponseCode().equals("200") && ((HTTPSampleResult) sample).isMonitor()) {
ObjectFactory of = ObjectFactory.getInstance();
Status st = of.parseBytes(sample.getResponseData());
if (st != null) {
MonitorStats stat = new MonitorStats(Stats.calculateStatus(st), Stats.calculateLoad(st), 0, Stats
.calculateMemoryLoad(st), Stats.calculateThreadLoad(st), surl.getHost(), String.valueOf(surl
.getPort()), surl.getProtocol(), System.currentTimeMillis());
MonitorModel mo = new MonitorModel(stat);