Class CustomGraphConsumer
java.lang.Object
org.apache.jmeter.report.processor.AbstractSampleProcessor
org.apache.jmeter.report.processor.AbstractSampleConsumer
org.apache.jmeter.report.processor.graph.AbstractGraphConsumer
org.apache.jmeter.report.processor.graph.AbstractOverTimeGraphConsumer
org.apache.jmeter.report.processor.graph.impl.CustomGraphConsumer
- All Implemented Interfaces:
SampleConsumer,SampleProcessor,SampleProducer
The class CustomGraphConsumer is added by the custom Graphs plugin.
It provides all the graphs the user defined in user.properties.
- Since:
- 5.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.apache.jmeter.report.processor.graph.AbstractOverTimeGraphConsumer
RESULT_CTX_GRANULARITYFields inherited from class org.apache.jmeter.report.processor.graph.AbstractGraphConsumer
DEFAULT_AGGREGATED_KEYS_SERIES_FORMAT, DEFAULT_GROUP, DEFAULT_OVERALL_SERIES_FORMAT, RESULT_MAX_X, RESULT_MAX_Y, RESULT_MIN_X, RESULT_MIN_Y, RESULT_SERIES, RESULT_SERIES_DATA, RESULT_SERIES_IS_CONTROLLER, RESULT_SERIES_IS_OVERALL, RESULT_SERIES_NAME, RESULT_SUPPORTS_CONTROLLERS_DISCRIMINATION, RESULT_TITLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TimeStampKeysSelectorCreates the time stamp keys selector.Gets the content message.booleanOnly used for junit tests.Gets the sampleVariableName.getXAxis()Gets the X Axis.getYAxis()Gets the Y Axis.protected voidinitializeExtraResults(MapResultData parentResult) Inherited classes can add properties to the resultvoidsetContentMessage(String message) Sets the contentMessage.voidsetSampleVariableName(String sampleVarName) Sets the sampleVariableName.voidSets the xAxis.voidSets the yAxis.Methods inherited from class org.apache.jmeter.report.processor.graph.AbstractOverTimeGraphConsumer
createKeysSelector, getGranularity, initialize, setGranularityMethods inherited from class org.apache.jmeter.report.processor.graph.AbstractGraphConsumer
consume, createSerieResult, getAggregatedKeysSeriesFormat, getGroupInfos, getInvertsKeysAndValues, getKeysSelector, getOverallSeriesFormat, getTitle, rendersPercentiles, setAggregatedKeysSeriesFormat, setOverallSeriesFormat, setRenderPercentiles, setRevertKeysAndValues, setTitle, startConsuming, stopConsumingMethods inherited from class org.apache.jmeter.report.processor.AbstractSampleConsumer
addSampleConsumer, getConsumedChannelCount, getConsumedMetadata, getConsumer, getDataFromContext, getName, getWorkingDirectory, produce, removeSampleConsumer, setChannelAttribute, setConsumedMetadata, setDataToContext, setName, setProducedMetadata, setSampleConsumer, setSampleConsumers, setSampleContext, startProducing, stopProducingMethods inherited from class org.apache.jmeter.report.processor.AbstractSampleProcessor
getChannelAttribute, getSampleContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jmeter.report.processor.SampleConsumer
consume, setConsumedMetadata, startConsuming, stopConsumingMethods inherited from interface org.apache.jmeter.report.processor.SampleProcessor
getChannelAttribute, getSampleContext, setChannelAttribute, setSampleContext
-
Field Details
-
RESULT_Y_AXIS
- See Also:
-
RESULT_X_AXIS
- See Also:
-
RESULT_SAMPLE_VARIABLE_NAME
- See Also:
-
RESULT_CONTENT_MESSAGE
- See Also:
-
REPORT_GENERATOR_PROPERTIES
- See Also:
-
-
Constructor Details
-
CustomGraphConsumer
public CustomGraphConsumer()
-
-
Method Details
-
getIsNativeSampleVariableName
public boolean getIsNativeSampleVariableName()Only used for junit tests. Indicates if the sampleVariableName is native- Returns:
- the nativeSampleVariableName
-
getYAxis
Gets the Y Axis.- Returns:
- the yAxis
-
getXAxis
Gets the X Axis.- Returns:
- the xAxis
-
setYAxis
Sets the yAxis.- Parameters:
axis- the yAxis to set
-
setXAxis
Sets the xAxis.- Parameters:
axis- the xAxis to set
-
setContentMessage
Sets the contentMessage.- Parameters:
message- the message to set
-
getContentMessage
Gets the content message.- Returns:
- the contentMessage
-
getSampleVariableName
Gets the sampleVariableName.- Returns:
- the sampleVariableName
-
setSampleVariableName
Sets the sampleVariableName. Sets the boolean isNativesSampleVariableName- Parameters:
sampleVarName- the sampleVariableName to set
-
initializeExtraResults
Description copied from class:AbstractGraphConsumerInherited classes can add properties to the result- Overrides:
initializeExtraResultsin classAbstractOverTimeGraphConsumer- Parameters:
parentResult- the parent result
-
createTimeStampKeysSelector
Description copied from class:AbstractOverTimeGraphConsumerCreates the time stamp keys selector.- Specified by:
createTimeStampKeysSelectorin classAbstractOverTimeGraphConsumer- Returns:
- the time stamp keys selector
-
createGroupInfos
- Specified by:
createGroupInfosin classAbstractOverTimeGraphConsumer
-