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/17 09:01:14 UTC

DO NOT REPLY [Bug 40773] New: - XML JTL not parsed correctly

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=40773>.
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=40773

           Summary: XML JTL not parsed correctly
           Product: JMeter
           Version: 2.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: ruben.laguna@gmail.com


When loading xml jtl into the summary report listener the thoughput is
incorrect. The problem is caused by SampleResultConverter.java. When it creates
SampleResults  from the xml input it sets the startTime of the sampleResult to
the current time of the machine not to the actual timestamp stated in the xml as
the old jtl file format parser does. 

The actual conflicts comes from the SampleResultConverter.retrieveAttributes
method when it makes the call to SampleResult.setTime(). This call doesn't allow
to specify the startTime so the starttime is set to (System.currentTimeMillis()
- elapsed).

-- 
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 40773] - XML JTL not parsed correctly

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=40773>.
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=40773





------- Additional Comments From ruben.laguna@gmail.com  2006-10-17 05:41 -------
Created an attachment (id=19013)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19013&action=view)
svn patch file for files SampleResult.java and SampleResultConverter.java

same as Attachment #19011 but without changing method signatures. 

-- 
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 40773] - XML JTL not parsed correctly

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=40773>.
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=40773





------- Additional Comments From ruben.laguna@gmail.com  2006-10-17 03:03 -------
Created an attachment (id=19011)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19011&action=view)
svn patch file for files SampleResult.java and SampleResultConverter.java

Uses the timestamp of the sample for startTime. Previous version used current
time on the machine leading to wrong throughput calculations

-- 
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