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).
Created attachment 19011 [details] 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
Created attachment 19013 [details] svn patch file for files SampleResult.java and SampleResultConverter.java same as Attachment #19011 [details] but without changing method signatures.
Thanks. The code in SVN branch 2.2 has been fixed, and is in the nightly build: 2-2.20061020
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1812