The data types for the counts of errors in SamplingStatCalculator is long, while the count of samples is int. While a load test probably will not exceed Integer.MAX_VALUE (won't it?) this discrepancy should be considered for review, as there will always be less errors than samples.
Tnanks for the report. The count has been changed to long throughout. URL: http://svn.apache.org/viewvc?rev=1059242&view=rev Log: Bug 50579 - Error count is long, sample count is int. Changed sample count to long. Modified: jakarta/jmeter/trunk/src/components/org/apache/jmeter/visualizers/DistributionGraph.java jakarta/jmeter/trunk/src/components/org/apache/jmeter/visualizers/Graph.java jakarta/jmeter/trunk/src/core/org/apache/jmeter/visualizers/SamplingStatCalculator.java jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/math/StatCalculator.java jakarta/jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2452