You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2006/10/18 22:07:05 UTC

DO NOT REPLY [Bug 40791] New: - Calculator used by Summary Report is inaccurate

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40791>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40791

           Summary: Calculator used by Summary Report is inaccurate
           Product: JMeter
           Version: 2.2
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: ruben.laguna@gmail.com


Calculator.java used by SummaryReport uses the startTime of the first sample as
start time for it's own calculations. First sample to arrive to summary report
is not always the first sample in time because some operations may have started
earlier and will arrive later because the sample come from a jmeter-server (in
distributed testing with batch mode this is noticiable) or because the time to
complete the sample locally is high. 

Furthermore Calculator (and Summary Report) take the endTime of the last sample
to arrive as the endTime for all SummaryReport calculations. This is worse
because  in distributed testing the time is not always synchonized to the
millisecond and the samples come in batches. 

This produces inaccuracy in the calculations. I'll attach a patch to correct
this behavior. Taking the min of samples startTime and the max of the samples
endTime

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 40791] - Calculator used by Summary Report is inaccurate

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40791>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40791





------- Additional Comments From ruben.laguna@gmail.com  2006-10-18 13:10 -------
Created an attachment (id=19027)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19027&action=view)
Calculator.java patch to take min and max of startTimes and endTimes into
account

Changes the way SummaryReport calculates the thoughput taking into account the
min and max of startTimes and endTimes. Previous version relies on samples
coming in order to accurately make the calculations. This assumption is false
in distributed testing (very false in batch mode!)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org