Bug 60591 - BackendListener : Add a time boxed sampling
Summary: BackendListener : Add a time boxed sampling
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.1
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-15 21:54 UTC by Philippe Mouawad
Modified: 2017-01-15 21:57 UTC (History)
1 user (show)



Attachments

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