use of kg.apc.jmeter.vizualizers.CompositeResultCollector in project jmeter-plugins by undera.
the class AbstractGraphPanelVisualizer method clearRowsFromCompositeModels.
private void clearRowsFromCompositeModels(String vizualizerName) {
GuiPackage gui = GuiPackage.getInstance();
if (gui == null) {
log.debug("No GUI Package present, ignored removing from composite");
return;
}
JMeterTreeModel testTree = gui.getTreeModel();
for (JMeterTreeNode obj : testTree.getNodesOfType(CompositeResultCollector.class)) {
// System.out.println("obj");
CompositeResultCollector compositeResultCollector = (CompositeResultCollector) obj.getTestElement();
compositeResultCollector.getCompositeModel().clearRows(vizualizerName);
}
}
use of kg.apc.jmeter.vizualizers.CompositeResultCollector in project jmeter-plugins by undera.
the class AbstractGraphPanelVisualizer method addRowToCompositeModels.
private void addRowToCompositeModels(String rowName, AbstractGraphRow row) {
GuiPackage gui = GuiPackage.getInstance();
if (gui == null) {
log.debug("No GUI Package present, ignored adding to composite");
return;
}
JMeterTreeModel testTree = gui.getTreeModel();
for (JMeterTreeNode obj : testTree.getNodesOfType(CompositeResultCollector.class)) {
CompositeResultCollector compositeResultCollector = (CompositeResultCollector) obj.getTestElement();
compositeResultCollector.getCompositeModel().addRow(rowName, row);
}
}
Aggregations