Class XPathAssertionGui

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable

public class XPathAssertionGui extends AbstractAssertionGui
See Also:
  • Constructor Details

    • XPathAssertionGui

      public XPathAssertionGui()
  • Method Details

    • getLabelResource

      public String getLabelResource()
      Returns the label to be shown within the JTree-Component.
      Returns:
      the resource name
    • createTestElement

      public org.apache.jmeter.testelement.TestElement createTestElement()
      Create test element
      Returns:
      the Test Element object that the GUI component represents.
    • getXPathAttributesTitle

      public String getXPathAttributesTitle()
    • configure

      public void configure(org.apache.jmeter.testelement.TestElement el)
      Description copied from class: AbstractJMeterGuiComponent
      A newly created gui component can be initialized with the contents of a Test Element object by calling this method. The component is responsible for querying the Test Element object for the relevant information to display in its GUI.

      AbstractJMeterGuiComponent provides a partial implementation of this method, setting the name of the component and its enabled status. Subclasses should override this method, performing their own configuration as needed, but also calling this super-implementation.

      Specified by:
      configure in interface JMeterGUIComponent
      Overrides:
      configure in class AbstractJMeterGuiComponent
      Parameters:
      el - the TestElement to configure
    • modifyTestElement

      public void modifyTestElement(org.apache.jmeter.testelement.TestElement el)
      Modifies a given TestElement to mirror the data in the gui components.
      Specified by:
      modifyTestElement in interface JMeterGUIComponent
      Overrides:
      modifyTestElement in class AbstractJMeterGuiComponent
      Parameters:
      el - the TestElement to modify
      See Also:
    • clearGui

      public void clearGui()
      Implements JMeterGUIComponent.clearGui
      Specified by:
      clearGui in interface ClearGui
      Overrides:
      clearGui in class AbstractScopedJMeterGuiComponent