kg.apc.jmeter.listener
Class GraphsGeneratorListener

java.lang.Object
  extended by org.apache.jmeter.testelement.AbstractTestElement
      extended by org.apache.jmeter.reporters.AbstractListenerElement
          extended by kg.apc.jmeter.listener.GraphsGeneratorListener
All Implemented Interfaces:
Serializable, Cloneable, org.apache.jmeter.gui.Searchable, org.apache.jmeter.testbeans.TestBean, org.apache.jmeter.testelement.TestElement, org.apache.jmeter.testelement.TestStateListener, org.apache.jmeter.visualizers.Visualizer

public class GraphsGeneratorListener
extends org.apache.jmeter.reporters.AbstractListenerElement
implements org.apache.jmeter.testelement.TestStateListener, org.apache.jmeter.testbeans.TestBean, org.apache.jmeter.testelement.TestElement, org.apache.jmeter.visualizers.Visualizer

Listener that generates graphs

Since:
1.1.3
Author:
Philippe M.
See Also:
Serialized Form

Nested Class Summary
static class GraphsGeneratorListener.ExportMode
           
 
Field Summary
 
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
 
Constructor Summary
GraphsGeneratorListener()
           
 
Method Summary
 void add(org.apache.jmeter.samplers.SampleResult result)
           
 String getExcludeLabels()
           
 int getExportMode()
           
 String getFilePrefix()
           
 String getForceY()
           
 String getGranulation()
           
 int getGraphHeight()
           
 int getGraphWidth()
           
 String getIncludeLabels()
           
 String getLimitRows()
           
 String getLineWeight()
           
 String getLowCountLimit()
           
 String getPaintMarkers()
           
 String getResultsFileName()
           
 String getSuccessFilter()
           
 boolean isAggregateRows()
           
 boolean isAutoScaleRows()
           
 boolean isPaintGradient()
           
 boolean isPaintZeroing()
           
 boolean isPreventOutliers()
           
 boolean isRelativeTimes()
           
 boolean isStats()
           
 void setAggregateRows(boolean aggregateRows)
           
 void setAutoScaleRows(boolean autoScaleRows)
           
 void setExcludeLabels(String excludeLabels)
           
 void setExportMode(int exportMode)
           
 void setFilePrefix(String filePrefix)
           
 void setForceY(String forceY)
           
 void setGranulation(String granulation)
           
 void setGraphHeight(int graphHeight)
           
 void setGraphWidth(int graphWidth)
           
 void setIncludeLabels(String includeLabels)
           
 void setLimitRows(String limitRows)
           
 void setLineWeight(String lineWeight)
           
 void setLowCountLimit(String lowCountLimit)
           
 void setPaintGradient(boolean paintGradient)
           
 void setPaintMarkers(String paintMarkers)
           
 void setPaintZeroing(boolean paintZeroing)
           
 void setPreventOutliers(boolean preventOutliers)
           
 void setProperty(org.apache.jmeter.testelement.property.JMeterProperty property)
          Override the setProperty method in order to convert the original String calcMode property.
 void setRelativeTimes(boolean relativeTimes)
           
 void setResultsFileName(String resultsFileName)
           
 void setSuccessFilter(String successFilter)
           
 void testEnded()
           
 void testEnded(String host)
           
 void testStarted()
           
 void testStarted(String host)
           
 
Methods inherited from class org.apache.jmeter.reporters.AbstractListenerElement
clone, getVisualizer, setListener
 
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
 

Constructor Detail

GraphsGeneratorListener

public GraphsGeneratorListener()
Method Detail

testEnded

public void testEnded()
Specified by:
testEnded in interface org.apache.jmeter.testelement.TestStateListener

testEnded

public void testEnded(String host)
Specified by:
testEnded in interface org.apache.jmeter.testelement.TestStateListener

testStarted

public void testStarted()
Specified by:
testStarted in interface org.apache.jmeter.testelement.TestStateListener

testStarted

public void testStarted(String host)
Specified by:
testStarted in interface org.apache.jmeter.testelement.TestStateListener

add

public void add(org.apache.jmeter.samplers.SampleResult result)
Specified by:
add in interface org.apache.jmeter.visualizers.Visualizer

setProperty

public void setProperty(org.apache.jmeter.testelement.property.JMeterProperty property)
Override the setProperty method in order to convert the original String calcMode property. This used the locale-dependent display value, so caused problems when the language was changed. Note that the calcMode StringProperty is replaced with an IntegerProperty so the conversion only needs to happen once.

Specified by:
setProperty in interface org.apache.jmeter.testelement.TestElement
Overrides:
setProperty in class org.apache.jmeter.testelement.AbstractTestElement

isStats

public boolean isStats()
Specified by:
isStats in interface org.apache.jmeter.visualizers.Visualizer

getResultsFileName

public String getResultsFileName()
Returns:
the resultsFileName

setResultsFileName

public void setResultsFileName(String resultsFileName)
Parameters:
resultsFileName - the resultsFileName to set

getFilePrefix

public String getFilePrefix()
Returns:
the FilePrefix

setFilePrefix

public void setFilePrefix(String filePrefix)
Parameters:
FilePrefix - the FilePrefix to set

getGraphWidth

public int getGraphWidth()
Returns:
the graphWidth

setGraphWidth

public void setGraphWidth(int graphWidth)
Parameters:
graphWidth - the graphWidth to set

getGraphHeight

public int getGraphHeight()
Returns:
the graphHeight

setGraphHeight

public void setGraphHeight(int graphHeight)
Parameters:
graphHeight - the graphHeight to set

isAggregateRows

public boolean isAggregateRows()
Returns:
the aggregateRows

setAggregateRows

public void setAggregateRows(boolean aggregateRows)
Parameters:
aggregateRows - the aggregateRows to set

isPaintZeroing

public boolean isPaintZeroing()
Returns:
the paintZeroing

setPaintZeroing

public void setPaintZeroing(boolean paintZeroing)
Parameters:
paintZeroing - the paintZeroing to set

isPaintGradient

public boolean isPaintGradient()
Returns:
the paintGradient

setPaintGradient

public void setPaintGradient(boolean paintGradient)
Parameters:
paintGradient - the paintGradient to set

isPreventOutliers

public boolean isPreventOutliers()
Returns:
the preventOutliers

setPreventOutliers

public void setPreventOutliers(boolean preventOutliers)
Parameters:
preventOutliers - the preventOutliers to set

isRelativeTimes

public boolean isRelativeTimes()
Returns:
the relativeTimes

setRelativeTimes

public void setRelativeTimes(boolean relativeTimes)
Parameters:
relativeTimes - the relativeTimes to set

isAutoScaleRows

public boolean isAutoScaleRows()
Returns:
the autoScaleRows

setAutoScaleRows

public void setAutoScaleRows(boolean autoScaleRows)
Parameters:
autoScaleRows - the autoScaleRows to set

getLimitRows

public String getLimitRows()
Returns:
the limitRows

setLimitRows

public void setLimitRows(String limitRows)
Parameters:
limitRows - the limitRows to set

getForceY

public String getForceY()
Returns:
the forceY

setForceY

public void setForceY(String forceY)
Parameters:
forceY - the forceY to set

getGranulation

public String getGranulation()
Returns:
the granulation

setGranulation

public void setGranulation(String granulation)
Parameters:
granulation - the granulation to set

getLineWeight

public String getLineWeight()
Returns:
the lineWeight

setLineWeight

public void setLineWeight(String lineWeight)
Parameters:
lineWeight - the lineWeight to set

getLowCountLimit

public String getLowCountLimit()
Returns:
the lowCountLimit

setLowCountLimit

public void setLowCountLimit(String lowCountLimit)
Parameters:
lowCountLimit - the lowCountLimit to set

getSuccessFilter

public String getSuccessFilter()
Returns:
the successFilter

setSuccessFilter

public void setSuccessFilter(String successFilter)
Parameters:
successFilter - the successFilter to set

getIncludeLabels

public String getIncludeLabels()
Returns:
the includeLabels

setIncludeLabels

public void setIncludeLabels(String includeLabels)
Parameters:
includeLabels - the includeLabels to set

getExcludeLabels

public String getExcludeLabels()
Returns:
the excludeLabels

setExcludeLabels

public void setExcludeLabels(String excludeLabels)
Parameters:
excludeLabels - the excludeLabels to set

getExportMode

public int getExportMode()
Returns:
the exportMode

setExportMode

public void setExportMode(int exportMode)
Parameters:
exportMode - the exportMode to set

getPaintMarkers

public String getPaintMarkers()
Returns:
the paintMarkers

setPaintMarkers

public void setPaintMarkers(String paintMarkers)
Parameters:
paintMarkers - the paintMarkers to set


Copyright © 2014. All Rights Reserved.