jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milam...@apache.org
Subject svn commit: r1457496 - /jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSampler.java
Date Sun, 17 Mar 2013 17:41:27 GMT
Author: milamber
Date: Sun Mar 17 17:41:26 2013
New Revision: 1457496

URL: http://svn.apache.org/r1457496
Log:
Another twice call of sampleEnd (if a exception occured)
Bugzilla Id: 54584

Modified:
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSampler.java

Modified: jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSampler.java?rev=1457496&r1=1457495&r2=1457496&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSampler.java
(original)
+++ jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSampler.java
Sun Mar 17 17:41:26 2013
@@ -79,7 +79,6 @@ public class MongoScriptSampler
             String resultAsString = handler.handle(result);
             res.setResponseData(resultAsString.getBytes());
         } catch (Exception ex) {
-            res.sampleEnd();
             res.setResponseCode("500"); // $NON-NLS-1$
             res.setSuccessful(false);
             res.setResponseMessage(ex.toString());



Mime
View raw message