Bug 50579 - Aggregate report: Error count is long, sample count is int
Aggregate report: Error count is long, sample count is int
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.4
PC Windows XP
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-01-13 05:12 UTC by jens_0
Modified: 2011-01-14 22:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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