You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2007/09/22 01:43:14 UTC

svn commit: r578322 - /jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java

Author: sebb
Date: Fri Sep 21 16:43:13 2007
New Revision: 578322

URL: http://svn.apache.org/viewvc?rev=578322&view=rev
Log:
Forgot to set threadCounts for Transaction Samples

Modified:
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java

Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java?rev=578322&r1=578321&r2=578322&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java (original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java Fri Sep 21 16:43:13 2007
@@ -263,9 +263,11 @@
                             if(transactionSampler.isTransactionDone()) {
                                 // Get the transaction sample result
                                 SampleResult transactionResult = transactionSampler.getTransactionResult();
+                                transactionResult.setThreadName(threadName);
+                                transactionResult.setGroupThreads(threadGroup.getNumberOfThreads());
+                                transactionResult.setAllThreads(JMeterContextService.getNumberOfThreads());
 
                                 // Check assertions for the transaction sample
-                                transactionResult.setThreadName(threadName);
                                 checkAssertions(transactionPack.getAssertions(), transactionResult);
                                 // Notify listeners with the transaction sample result
                                 notifyListeners(transactionPack.getSampleListeners(), transactionResult);



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org