Class Top5ErrorsBySamplerConsumer
java.lang.Object
org.apache.jmeter.report.processor.AbstractSampleProcessor
org.apache.jmeter.report.processor.AbstractSampleConsumer
org.apache.jmeter.report.processor.AbstractSummaryConsumer<Top5ErrorsSummaryData>
org.apache.jmeter.report.processor.Top5ErrorsBySamplerConsumer
- All Implemented Interfaces:
SampleConsumer,SampleProcessor,SampleProducer
The class Top5ErrorsBySamplerConsumer provides a consumer that calculates
the TOP5 of errors by sampler.
- Since:
- 3.1
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jmeter.report.processor.AbstractSummaryConsumer
AbstractSummaryConsumer.SummaryInfo -
Field Summary
Fields inherited from class org.apache.jmeter.report.processor.AbstractSummaryConsumer
RESULT_VALUE_DATA, RESULT_VALUE_IS_CONTROLLER, RESULT_VALUE_ITEMS, RESULT_VALUE_OVERALL, RESULT_VALUE_SUPPORTS_CONTROLLERS_DISCRIMINATION, RESULT_VALUE_TITLES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ListResultDatacreateDataResult(String key, Top5ErrorsSummaryData 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 samplevoidsetIgnoreTransactionController(boolean ignoreTCFromTop5ErrorsBySampler) protected voidupdateData(AbstractSummaryConsumer<Top5ErrorsSummaryData>.SummaryInfo info, Sample sample) Update the stored data with the data from the specified sample.Methods inherited from class org.apache.jmeter.report.processor.AbstractSummaryConsumer
consume, getOverallInfo, getSummaryInfos, hasOverallResult, setHasOverallResult, startConsuming, stopConsuming, suppportsControllersDiscriminationMethods 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.SampleProcessor
getChannelAttribute, getSampleContext
-
Constructor Details
-
Top5ErrorsBySamplerConsumer
public Top5ErrorsBySamplerConsumer()
-
-
Method Details
-
updateData
protected void updateData(AbstractSummaryConsumer<Top5ErrorsSummaryData>.SummaryInfo info, Sample sample) Description copied from class:AbstractSummaryConsumerUpdate the stored data with the data from the specified sample.- Specified by:
updateDatain classAbstractSummaryConsumer<Top5ErrorsSummaryData>- Parameters:
info- SummaryInfosample- the sample
-
createDataResult
Description copied from class:AbstractSummaryConsumerCreates a result item for information identified by the specified key.- Specified by:
createDataResultin classAbstractSummaryConsumer<Top5ErrorsSummaryData>- Parameters:
key- the keydata- the data- Returns:
- the list result data
-
getKeyFromSample
Description copied from class:AbstractSummaryConsumerGets the identifier key from sample.
This key is use identify the SummaryInfo linked with the sample- Specified by:
getKeyFromSamplein classAbstractSummaryConsumer<Top5ErrorsSummaryData>- Parameters:
sample- the sample- Returns:
- the key identifying the sample
-
createResultTitles
Description copied from class:AbstractSummaryConsumerCreates the result containing titles of columns.- Specified by:
createResultTitlesin classAbstractSummaryConsumer<Top5ErrorsSummaryData>- Returns:
- the list of titles
-
setIgnoreTransactionController
public void setIgnoreTransactionController(boolean ignoreTCFromTop5ErrorsBySampler) - Parameters:
ignoreTCFromTop5ErrorsBySampler- ignore transaction controller sampler results when computing top 5
-