Bug 50579

Summary: Aggregate report: Error count is long, sample count is int
Product: JMeter - Now in Github Reporter: jens_0
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

Description jens_0 2011-01-13 05:12:55 UTC
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.
Comment 1 Sebb 2011-01-14 22:06:19 UTC
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
Comment 2 The ASF infrastructure team 2022-09-24 20:37:45 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2452