jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [jmeter] rithvikp1998 opened a new pull request #671: Fix to 65446 - Move statistic_window property to file
Date Fri, 30 Jul 2021 09:27:44 GMT

rithvikp1998 opened a new pull request #671:

   ## Description
   PercentileAggregator class reads the value for statistic_window using the following line:
   private static final int SLIDING_WINDOW_SIZE = JMeterUtils.getPropDefault(
                       + ReportGeneratorConfiguration.KEY_DELIMITER
                       + "statistic_window", 20000);
   getPropDefault() calls appProperties.getProperty(). But in the appProperties we are only
loading,, etc and _not_
where the value for statistic_window is supposed to be set. So the default value of 20,000
is being picked irrespective of what is set in the properties file.
   _There are multiple ways to fix this issue but I chose this approach because it is the
least intrusive._
   ## Motivation and Context
   ## How Has This Been Tested?
   I built the code with the new changes and generated dashboards with some debug log statements
in the code. The dashboards were getting generated correctly and the log statements are printing
whatever property value I am setting. (Without this patch, they always print 20,000 as the
size of the statistic window even when I am setting a different value in
   ## Screenshots (if appropriate):
   ## Types of changes
   <!--- What types of changes does your code introduce? Delete as appropriate -->
   - Bug fix (non-breaking change which fixes an issue)
   ## Checklist:
   <!--- Go over all the following points, and put an `x` in all the boxes that apply.
   <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help!
   - [x] My code follows the [code style][style-guide] of this project.
   - [ ] I have updated the documentation accordingly.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail:

For queries about this service, please contact Infrastructure at:

View raw message