Package org.apache.jmeter.samplers

Examples of org.apache.jmeter.samplers.Clearable


                JMeterGUIComponent guiComp = null;
        try {
          Object next = iter.next();
                    node = (JMeterTreeNode) next;
                    guiComp = guiPackage.getGui(node.getTestElement());
                    Clearable item = (Clearable) guiComp;
          item.clearData();
        } catch (Exception ex) {
          log.error("Can't clear: "+node+" "+guiComp, ex);
        }
      }
    }
View Full Code Here


      }
    } else {
      Iterator iter = guiPackage.getTreeModel().getNodesOfType(Clearable.class).iterator();
      while (iter.hasNext()) {
        try {
          Clearable item = (Clearable) guiPackage.getGui(((JMeterTreeNode) iter.next()).getTestElement());
          item.clear();
        } catch (Exception ex) {
          log.error("", ex);
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.apache.jmeter.samplers.Clearable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.