Bug 61071

Summary: Median calculation : Document algorithm used
Product: JMeter - Now in Github Reporter: Aleksei Balan <abalanonline>
Component: MainAssignee: JMeter issues mailing list <issues>
Severity: enhancement CC: p.mouawad
Priority: P2    
Version: 2.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: aggregate report csv file

Description Aleksei Balan 2017-05-05 03:56:18 UTC
Created attachment 34975 [details]
aggregate report csv file

For even number of tests median should be the mean of the two middle values.
JMeter 3.2 calculate median as 50% line and this is wrong approach.

For example, aggregate report data:
Samples: 2
Min: 197
Max: 252
Average: 224
Median: 197

Here for 2 samples median should be the same as average (224) but it is the same as min (197) and this is incorrect.
Comment 1 Philippe Mouawad 2017-05-25 14:46:16 UTC
Hi Team,
What shall we do with that ?
It appears it's all a matter of different possible algorithms.

Comment 2 Philippe Mouawad 2017-05-27 22:47:40 UTC
It appears issue is not bug.

*** This bug has been marked as a duplicate of bug 61130 ***
Comment 3 Philippe Mouawad 2017-09-02 19:35:10 UTC

*** This bug has been marked as a duplicate of bug 61130 ***
Comment 4 The ASF infrastructure team 2022-09-24 20:38:08 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4385