175176177178179180181182183184185
log.warn(ex.toString()); res.setResponseCode("500");//$NON-NLS-1$ res.setResponseMessage(ex.toString()); } res.sampleEnd(); // Set if we were successful or not res.setSuccessful(isSuccessful); return res;
138139140141142143144145146147148
log.warn("",ex); res.setResponseCode("500"); res.setResponseMessage(ex.toString()); } res.sampleEnd(); // Set if we were successful or not res.setSuccessful(isSuccessful); return res;
108109110111112113114115116117118
{ // general exception res.setResponseData(ex.toString().getBytes()); } res.sampleEnd(); // Set if we were successful or not res.setSuccessful(isSuccessful); return res;
166167168169170171172173174175176
{ manager.releaseConnection(key, conn); } } res.sampleEnd(); return res; } private synchronized DBKey getKey() throws ConnectionPoolException {
284285286287288289290291292293294
res.setResponseCode("500"); res.setResponseMessage(ex.toString()); } // Calculate response time res.sampleEnd(); // Set if we were successful or not res.setSuccessful(isSuccessful); return res;
949596979899100101102103104
catch (Exception ex){ log.debug("",ex); res.setResponseCode("500"); res.setResponseMessage(ex.toString()); } res.sampleEnd(); //End timimg res.setSuccessful(isOK); return res; }
317318319320321322323324325326327
{ getLogger().error("JavaTest: error during sample", e); results.setSuccessful(false); } finally{ // Record end time and populate the results. results.sampleEnd(); } if (getLogger().isDebugEnabled()) { getLogger().debug(
158159160161162163164165166167168
323324325326327328329330331332333
153154155156157158159160161162163
getLogger().error("SleepTest: error during sample", e); results.setSuccessful(false); } finally { results.sampleEnd(); } if (getLogger().isDebugEnabled()) { getLogger().debug(