jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60453] New: The Min and Max value in no GUI summary log are not correct when using remote statistical test mode.
Date Thu, 08 Dec 2016 03:39:07 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60453

            Bug ID: 60453
           Summary: The Min and Max value in no GUI summary log are not
                    correct when using remote statistical test mode.
           Product: JMeter
           Version: 3.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: liu_xp2003@sina.com
  Target Milestone: ---

In JMeter org.apache.jmeter.reports.SummariserRunningSample
the max and min using res.getTime() to get one sampler elapsedTime.
But in statistical running mode, SampleResut.elapsedTime recorded multiple
sampler's  elapsed time.

Thus, in summary log, the min response time is bigger than Avg response time
and Max time is also not correct.

Current Result in summering log:
Starting remote engines
Starting the test @ Thu Dec 08 11:20:17 CST 2016 (1481167217382)
Remote engines have been started
Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445
summary + 374320 in 00:00:11 = 34417.1/s Avg:     6 Min:    47 Max:  2270 Err:
   0 (0.0000%) Active: 400 Started: 300 Finished: 0
summary + 1715500 in 00:00:30 = 57185.2/s Avg:     6 Min:   635 Max:  3679 Err:
    0 (0.0000%) Active: 400 Started: 300 Finished: 0
summary = 2089820 in 00:00:41 = 51124.6/s Avg:     6 Min:    47 Max:  3679 Err:
    0 (0.0000%)
summary + 1723400 in 00:00:30 = 57446.7/s Avg:     6 Min:   637 Max:  3692 Err:
    0 (0.0000%) Active: 400 Started: 300 Finished: 0
summary = 3813220 in 00:01:11 = 53799.8/s Avg:     6 Min:    47 Max:  3692 Err:
    0 (0.0000%)
summary + 1725100 in 00:00:30 = 57507.2/s Avg:     6 Min:   629 Max:  3677 Err:
    0 (0.0000%) Active: 400 Started: 300 Finished: 0
summary = 5538320 in 00:01:41 = 54901.7/s Avg:     6 Min:    47 Max:  3692 Err:
    0 (0.0000%)
...


I fixed in org.apache.jmeter.reports.SummariserRunningSample
Line123:         long aTimeInMillis = res.getTime();
changed to
long aTimeInMillis = res.getEndTime() - res.getStartTime() - res.getIdleTime();

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message