org.apache.jmeter.samplers.Clearable Java Examples
The following examples show how to use
org.apache.jmeter.samplers.Clearable.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DebuggerDialog.java From jmeter-debugger with Apache License 2.0 | 5 votes |
private void clearListeners() { GuiPackage guiPackage = GuiPackage.getInstance(); for (JMeterTreeNode node : guiPackage.getTreeModel().getNodesOfType(Clearable.class)) { JMeterGUIComponent guiComp = guiPackage.getGui(node.getTestElement()); if (guiComp instanceof Clearable){ Clearable item = (Clearable) guiComp; try { item.clearData(); } catch (Exception ex) { log.error("Can't clear: {} {}", node, guiComp, ex); } } } }