use of org.apache.jmeter.report.processor.graph.IndexedNameSelector in project jmeter by apache.
the class ResponseTimePerSampleGraphConsumer method initializeExtraResults.
/*
* (non-Javadoc)
*
* @see org.apache.jmeter.report.processor.graph.AbstractGraphConsumer#
* initializeExtraResults(org.apache.jmeter.report.processor.MapResultData)
*/
@Override
protected void initializeExtraResults(MapResultData parentResult) {
ListResultData samples = new ListResultData();
IndexedNameSelector indexedNameSelector = (IndexedNameSelector) getKeysSelector();
int size = indexedNameSelector.getNames().size();
for (int i = 0; i < size; i++) {
samples.addResult(new ValueResultData(indexedNameSelector.getNames().get(i)));
}
parentResult.setResult("sampleNames", samples);
}
Aggregations