Bug 60591

Summary: BackendListener : Add a time boxed sampling
Product: JMeter Reporter: Philippe Mouawad <p.mouawad>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement CC: p.mouawad
Priority: P2    
Version: 3.1   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Philippe Mouawad 2017-01-15 21:54:09 UTC
When you use the fixed metric window mode, all samples metrics are saved in a sliding array with a fix size, you send each second to your backend a trend of this values.

When you use the time boxed mode, all samples metrics are reset in order to send actual values for the last elapse time.
This mode is useful with an Influxdb backend (InfluxdbBackendListenerClient) with a polling of 5 seconds.


See PR:
- https://github.com/apache/jmeter/pull/237
Comment 1 Philippe Mouawad 2017-01-15 21:57:04 UTC
Author: pmouawad
Date: Sun Jan 15 21:56:37 2017
New Revision: 1778949

URL: http://svn.apache.org/viewvc?rev=1778949&view=rev
Log:
Bug 60591 - BackendListener : Add a time boxed sampling
Based on PR 237  from by Logan Mauzaize (logan.mauzaize at gmail.com) and
Maxime Chassagneux (maxime.chassagneux at gmail.com).

Changes in PR:
- Add documentation in properties_reference.xml
- Make some fields static

This closes #237
Bugzilla Id: 60591

Added:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/WindowMode.java   (with props)
Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/SamplerMetric.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/properties_reference.xml