Bug 40954

Summary: Statistical mode in distributed testing shows wrong results
Product: JMeter - Now in Github Reporter: Rubén Laguna <ruben.laguna>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: major    
Priority: P2    
Version: 2.2.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Patch to fix startTime's bug

Description Rubén Laguna 2006-11-13 01:27:25 UTC
All StatisticalSampleResult object have a startTime of 0 so the all the elapsed
times of the samples are in the order of years! The problem is easily fixed
adding a few lines in Statistical.add(SampleResult res). Just a check to see if
startTime is zero and if so set the startTime to the startTime of the incoming
SampleResult.
Comment 1 Rubén Laguna 2006-11-13 01:29:40 UTC
Created attachment 19117 [details]
Patch to fix startTime's bug

startTime is always zero. THis patch takes the first non-zero startTime in
incoming SampleResults as the startTime for the whole SampleStatisticalResult.
Comment 2 Sebb 2006-11-27 14:39:05 UTC
Thanks - fix added to SVN in rel-2-2 branch. This will appear in the next
"nightly" build (and the next release)
Comment 3 The ASF infrastructure team 2022-09-24 20:37:38 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1824