Class ErrorsSummaryConsumer
java.lang.Object
org.apache.jmeter.report.processor.AbstractSampleProcessor
org.apache.jmeter.report.processor.AbstractSampleConsumer
org.apache.jmeter.report.processor.AbstractSummaryConsumer<Long>
org.apache.jmeter.report.processor.ErrorsSummaryConsumer
- All Implemented Interfaces:
- SampleConsumer,- SampleProcessor,- SampleProducer
The class ErrorSummaryConsumer provides a consumer that calculates error statistics.
- Since:
- 3.0
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.jmeter.report.processor.AbstractSummaryConsumerAbstractSummaryConsumer.SummaryInfo
- 
Field SummaryFields inherited from class org.apache.jmeter.report.processor.AbstractSummaryConsumerRESULT_VALUE_DATA, RESULT_VALUE_IS_CONTROLLER, RESULT_VALUE_ITEMS, RESULT_VALUE_OVERALL, RESULT_VALUE_SUPPORTS_CONTROLLERS_DISCRIMINATION, RESULT_VALUE_TITLES
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected ListResultDatacreateDataResult(String key, Long data) Creates a result item for information identified by the specified key.protected ListResultDataCreates the result containing titles of columns.protected StringgetKeyFromSample(Sample sample) Gets the identifier key from sample.
 This key is use identify the SummaryInfo linked with the samplevoidStops the consuming process.protected voidupdateData(AbstractSummaryConsumer<Long>.SummaryInfo info, Sample sample) Update the stored data with the data from the specified sample.Methods inherited from class org.apache.jmeter.report.processor.AbstractSummaryConsumerconsume, getOverallInfo, getSummaryInfos, hasOverallResult, setHasOverallResult, startConsuming, suppportsControllersDiscriminationMethods inherited from class org.apache.jmeter.report.processor.AbstractSampleConsumeraddSampleConsumer, 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.AbstractSampleProcessorgetChannelAttribute, getSampleContextMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jmeter.report.processor.SampleProcessorgetChannelAttribute, getSampleContext
- 
Constructor Details- 
ErrorsSummaryConsumerpublic ErrorsSummaryConsumer()Instantiates a new errors summary consumer.
 
- 
- 
Method Details- 
createDataResultDescription copied from class:AbstractSummaryConsumerCreates a result item for information identified by the specified key.- Specified by:
- createDataResultin class- AbstractSummaryConsumer<Long>
- Parameters:
- key- the key
- data- the data
- Returns:
- the list result data
 
- 
getKeyFromSampleDescription copied from class:AbstractSummaryConsumerGets the identifier key from sample.
 This key is use identify the SummaryInfo linked with the sample- Specified by:
- getKeyFromSamplein class- AbstractSummaryConsumer<Long>
- Parameters:
- sample- the sample
- Returns:
- the key identifying the sample
 
- 
updateDataDescription copied from class:AbstractSummaryConsumerUpdate the stored data with the data from the specified sample.- Specified by:
- updateDatain class- AbstractSummaryConsumer<Long>
- Parameters:
- info- SummaryInfo
- sample- the sample
 
- 
stopConsumingpublic void stopConsuming()Description copied from interface:SampleConsumerStops the consuming process. No sample will be processed after this service has been called.- Specified by:
- stopConsumingin interface- SampleConsumer
- Overrides:
- stopConsumingin class- AbstractSummaryConsumer<Long>
 
- 
createResultTitlesDescription copied from class:AbstractSummaryConsumerCreates the result containing titles of columns.- Specified by:
- createResultTitlesin class- AbstractSummaryConsumer<Long>
- Returns:
- the list of titles
 
 
-