Class HTTPArgumentsPanel

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

public class HTTPArgumentsPanel extends ArgumentsPanel
A GUI panel allowing the user to enter HTTP Parameters. These have names and values, as well as check-boxes to determine whether or not to include the "=" sign in the output and whether or not to encode the output.
See Also:
  • Constructor Details

    • HTTPArgumentsPanel

      public HTTPArgumentsPanel()
  • Method Details

    • initializeTableModel

      protected void initializeTableModel()
      Description copied from class: ArgumentsPanel
      Initialize the table model used for the arguments table.
      initializeTableModel in class ArgumentsPanel
    • testFunctors

      public static boolean testFunctors()
    • sizeColumns

      protected void sizeColumns(JTable table)
      Description copied from class: ArgumentsPanel
      Resize the table columns to appropriate widths.
      sizeColumns in class ArgumentsPanel
      table - the table to resize columns for
    • makeNewArgument

      protected HTTPArgument makeNewArgument()
      Description copied from class: ArgumentsPanel
      Create a new Argument object.
      makeNewArgument in class ArgumentsPanel
      a new Argument object
    • createTestElement

      public Arguments 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.

      Since 5.6.3, the default implementation is as follows, and subclasses should override JMeterGUIComponent.makeTestElement()

       public TestElement createTestElement() {
           TestElement element = makeTestElement();
           return el;

      Before 5.6.3 the canonical implementation was as follows, however, it is recommended to avoid overriding JMeterGUIComponent.createTestElement() and override JMeterGUIComponent.makeTestElement() instead.

       public TestElement createTestElement() {
           TestElementXYZ el = new TestElementXYZ();
           return el;
      Specified by:
      createTestElement in interface JMeterGUIComponent
      createTestElement in class ArgumentsPanel
      the Test Element object that the GUI component represents.
    • getParameters

      public Arguments getParameters()
      Convert the argument panel contents to an Arguments collection.
      a collection of HTTPArgument entries
    • configure

      public void configure(org.apache.jmeter.testelement.TestElement el)
      Description copied from class: ArgumentsPanel
      A newly created 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.
      Specified by:
      configure in interface JMeterGUIComponent
      configure in class ArgumentsPanel
      el - the TestElement to configure
    • isMetaDataNormal

      protected boolean isMetaDataNormal(HTTPArgument arg)
    • addFromClipboard

      protected void addFromClipboard()
      addFromClipboard in class ArgumentsPanel
    • createArgumentFromClipboard

      protected Argument createArgumentFromClipboard(String[] clipboardCols)
      createArgumentFromClipboard in class ArgumentsPanel