https://issues.apache.org/bugzilla/show_bug.cgi?id=50080

--- Comment #2 from [email protected] 2010-10-27 10:33:14 EDT ---
Here's a suggestion to solve the problem.

It requires changing the visibility of SampleResult's setEndTime from protected
to public.

Any concerns?

original/src/core/org/apache/jmeter/control/TransactionSampler.java Thu Jul 08
22:42:36 2010
+++ new/src/core/org/apache/jmeter/control/TransactionSampler.java Wed Oct 27
16:19:32 2010
@@ -49,0 +50,2 @@
+    private int totalTime = 0;
+   
@@ -101,0 +104 @@
+        totalTime += res.getTime();
@@ -113,0 +117,8 @@
+       
+        if (!transactionController.isIncludeTimers()) {
+         long end = SampleResult.currentTimeInMs();
+         
+         transactionSampleResult.setIdleTime(end -
transactionSampleResult.getStartTime() - totalTime);
+         transactionSampleResult.setEndTime(end);
+        }
+

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to