Search in sources :

Example 1 with CountValueSelector

use of org.apache.jmeter.report.processor.graph.CountValueSelector in project jmeter by apache.

the class ResponseTimePercentilesGraphConsumer method createGroupInfos.

/*
     * (non-Javadoc)
     * 
     * @see org.apache.jmeter.report.csv.processor.impl.AbstractGraphConsumer#
     * createGroupInfos()
     */
@Override
protected Map<String, GroupInfo> createGroupInfos() {
    HashMap<String, GroupInfo> groupInfos = new HashMap<>(1);
    groupInfos.put(AbstractGraphConsumer.DEFAULT_GROUP, new GroupInfo(new SumAggregatorFactory(), new NameSeriesSelector(), // We include Transaction Controller results
    new CountValueSelector(false), false, false));
    return groupInfos;
}
Also used : HashMap(java.util.HashMap) GroupInfo(org.apache.jmeter.report.processor.graph.GroupInfo) NameSeriesSelector(org.apache.jmeter.report.processor.graph.NameSeriesSelector) SumAggregatorFactory(org.apache.jmeter.report.processor.SumAggregatorFactory) CountValueSelector(org.apache.jmeter.report.processor.graph.CountValueSelector)

Example 2 with CountValueSelector

use of org.apache.jmeter.report.processor.graph.CountValueSelector in project jmeter by apache.

the class CodesPerSecondGraphConsumer method createGroupInfos.

/*
     * (non-Javadoc)
     * 
     * @see org.apache.jmeter.report.csv.processor.impl.AbstractGraphConsumer#
     * createGroupInfos()
     */
@Override
protected Map<String, GroupInfo> createGroupInfos() {
    HashMap<String, GroupInfo> groupInfos = new HashMap<>(1);
    groupInfos.put(AbstractGraphConsumer.DEFAULT_GROUP, new GroupInfo(new TimeRateAggregatorFactory(), new CodeSeriesSelector(), // We ignore Transaction Controller results
    new CountValueSelector(true), false, false));
    return groupInfos;
}
Also used : HashMap(java.util.HashMap) GroupInfo(org.apache.jmeter.report.processor.graph.GroupInfo) CountValueSelector(org.apache.jmeter.report.processor.graph.CountValueSelector) CodeSeriesSelector(org.apache.jmeter.report.processor.graph.CodeSeriesSelector) TimeRateAggregatorFactory(org.apache.jmeter.report.processor.TimeRateAggregatorFactory)

Example 3 with CountValueSelector

use of org.apache.jmeter.report.processor.graph.CountValueSelector in project jmeter by apache.

the class HitsPerSecondGraphConsumer method createGroupInfos.

/*
     * (non-Javadoc)
     * 
     * @see org.apache.jmeter.report.csv.processor.impl.AbstractGraphConsumer#
     * createGroupInfos()
     */
@Override
protected Map<String, GroupInfo> createGroupInfos() {
    HashMap<String, GroupInfo> groupInfos = new HashMap<>(1);
    groupInfos.put(AbstractGraphConsumer.DEFAULT_GROUP, new GroupInfo(new TimeRateAggregatorFactory(), new StaticSeriesSelector(), // We ignore Transaction Controller results
    new CountValueSelector(true), false, false));
    return groupInfos;
}
Also used : StaticSeriesSelector(org.apache.jmeter.report.processor.graph.StaticSeriesSelector) HashMap(java.util.HashMap) GroupInfo(org.apache.jmeter.report.processor.graph.GroupInfo) CountValueSelector(org.apache.jmeter.report.processor.graph.CountValueSelector) TimeRateAggregatorFactory(org.apache.jmeter.report.processor.TimeRateAggregatorFactory)

Example 4 with CountValueSelector

use of org.apache.jmeter.report.processor.graph.CountValueSelector in project jmeter by apache.

the class ResponseTimeDistributionGraphConsumer method createGroupInfos.

/*
     * (non-Javadoc)
     * 
     * @see org.apache.jmeter.report.csv.processor.impl.AbstractGraphConsumer#
     * createGroupInfos()
     */
@Override
protected Map<String, GroupInfo> createGroupInfos() {
    HashMap<String, GroupInfo> groupInfos = new HashMap<>(1);
    groupInfos.put(AbstractGraphConsumer.DEFAULT_GROUP, new GroupInfo(new SumAggregatorFactory(), new NameSeriesSelector(), // We include Transaction Controller results
    new CountValueSelector(false), false, false));
    return groupInfos;
}
Also used : HashMap(java.util.HashMap) GroupInfo(org.apache.jmeter.report.processor.graph.GroupInfo) NameSeriesSelector(org.apache.jmeter.report.processor.graph.NameSeriesSelector) SumAggregatorFactory(org.apache.jmeter.report.processor.SumAggregatorFactory) CountValueSelector(org.apache.jmeter.report.processor.graph.CountValueSelector)

Example 5 with CountValueSelector

use of org.apache.jmeter.report.processor.graph.CountValueSelector in project jmeter by apache.

the class SyntheticResponseTimeDistributionGraphConsumer method createGroupInfos.

/*
     * (non-Javadoc)
     * 
     * @see org.apache.jmeter.report.csv.processor.impl.AbstractGraphConsumer#
     * createGroupInfos()
     */
@Override
protected Map<String, GroupInfo> createGroupInfos() {
    Map<String, GroupInfo> groupInfos = new HashMap<>(1);
    SyntheticSeriesSelector syntheticSeriesSelector = new SyntheticSeriesSelector();
    groupInfos.put(AbstractGraphConsumer.DEFAULT_GROUP, new GroupInfo(new SumAggregatorFactory(), syntheticSeriesSelector, // We ignore Transaction Controller results
    new CountValueSelector(true), false, false));
    return groupInfos;
}
Also used : HashMap(java.util.HashMap) GroupInfo(org.apache.jmeter.report.processor.graph.GroupInfo) SumAggregatorFactory(org.apache.jmeter.report.processor.SumAggregatorFactory) CountValueSelector(org.apache.jmeter.report.processor.graph.CountValueSelector)

Aggregations

HashMap (java.util.HashMap)6 CountValueSelector (org.apache.jmeter.report.processor.graph.CountValueSelector)6 GroupInfo (org.apache.jmeter.report.processor.graph.GroupInfo)6 SumAggregatorFactory (org.apache.jmeter.report.processor.SumAggregatorFactory)3 TimeRateAggregatorFactory (org.apache.jmeter.report.processor.TimeRateAggregatorFactory)3 NameSeriesSelector (org.apache.jmeter.report.processor.graph.NameSeriesSelector)2 Sample (org.apache.jmeter.report.core.Sample)1 AbstractSeriesSelector (org.apache.jmeter.report.processor.graph.AbstractSeriesSelector)1 CodeSeriesSelector (org.apache.jmeter.report.processor.graph.CodeSeriesSelector)1 StaticSeriesSelector (org.apache.jmeter.report.processor.graph.StaticSeriesSelector)1