Class XMLAssertionGui

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

public class XMLAssertionGui extends AbstractAssertionGui
See Also:
  • Constructor Details

    • XMLAssertionGui

      public XMLAssertionGui()
      The constructor.
  • 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()
      Description copied from interface: JMeterGUIComponent
      JMeter test components are separated into a model and a GUI representation. The model holds the data and the GUI displays it. The GUI class is responsible for knowing how to create and initialize with data the model class that it knows how to display, and this method is called when new test elements are created.

      The canonical implementation looks like this:

       public TestElement createTestElement() {
           TestElementXYZ el = new TestElementXYZ();
           modifyTestElement(el);
           return el;
       }
       
      Returns:
      the Test Element object that the GUI component represents.
    • modifyTestElement

      public void modifyTestElement(org.apache.jmeter.testelement.TestElement el)
      Modifies a given TestElement to mirror the data in the gui components.
      Parameters:
      el - the TestElement to modify
      See Also: