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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to