You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by sebb AT ASF <se...@apache.org> on 2017/03/08 16:10:41 UTC

ResultCollector file corruption

There's no obvious route whereby writes to an output file can be
intermingled if there is only a single ResultCollector.

However as Bug 60822 showed, this could happen if two different
listeners used different file names that pointed to the same physical
file.

I've not had a chance to check how this might affect client-server
mode - could that have generated different file names that map to the
same file?

It would be worth testing with client-server mode to check if the fix
below has improved matters.

---------- Forwarded message ----------
From:  <se...@apache.org>
Date: 8 March 2017 at 15:38
Subject: svn commit: r1785990 - in /jmeter/trunk:
src/core/org/apache/jmeter/reporters/ResultCollector.java
xdocs/changes.xml
To: commits@jmeter.apache.org


Author: sebb
Date: Wed Mar  8 15:38:57 2017
New Revision: 1785990

URL: http://svn.apache.org/viewvc?rev=1785990&view=rev
Log:
ResultCollector does not ensure unique file name entries in files HashMap
Bugzilla Id: 60822

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/reporters/ResultCollector.java
    jmeter/trunk/xdocs/changes.xml

[...]