ham1 opened a new pull request, #6884:
URL: https://github.com/apache/jmeter/pull/6884

   ## Description
   A Transaction Controller no longer reports a sample when the thread stops at 
a timer before any sampler in the transaction has run. If at least one sampler 
ran, the transaction is still reported.
   
   ## Motivation and Context
   A thread can stop while waiting on a timer, either because the delay would 
end after the scheduled end of the test or because Precise Throughput Timer 
throws `JMeterStopThreadException`. The empty transaction took close to 0 ms 
and distorted the minimum response time.
   
   Relates to #6625. The issue has no test plan, so I have not confirmed that 
this is the cause the reporter hit.
   
   ## How Has This Been Tested?
   New parameterized tests in `TestTransactionController` cover parent and 
non-parent mode with both ways of stopping. Locally on JDK 25 and Linux, the 
transaction tests and `TestJMeterThread` pass. I did not run the full test 
suite locally.
   
   ## Types of changes
   - Bug fix (non-breaking change which fixes an issue)
   
   ## Checklist:
   - [ ] My code follows the [code style][style-guide] of this project.
   - [x] I have updated the documentation accordingly.
   
   [style-guide]: https://wiki.apache.org/jmeter/CodeStyleGuidelines
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to