Class HTTPFileArgsPanel

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class HTTPFileArgsPanel extends JPanel implements ActionListener
A GUI panel allowing the user to enter file information for http upload. Used by UrlConfigGui for use in HTTP Samplers.
See Also:
  • Constructor Details

    • HTTPFileArgsPanel

      public HTTPFileArgsPanel()
      Create a new HTTPFileArgsPanel as an embedded component
  • Method Details

    • testFunctors

      public static boolean testFunctors()
    • modifyTestElement

      public void modifyTestElement(org.apache.jmeter.testelement.TestElement testElement)
      Save the GUI data in the HTTPSamplerBase element.
      Parameters:
      testElement - TestElement to modify
    • hasData

      public boolean hasData()
    • configure

      public void configure(org.apache.jmeter.testelement.TestElement testElement)
      A newly created component can be initialized with the contents of a HTTPSamplerBase object by calling this method. The component is responsible for querying the Test Element object for the relevant information to display in its GUI.
      Parameters:
      testElement - the HTTPSamplerBase to be used to configure the GUI
    • clear

      public void clear()
      Clear all rows from the table.
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Invoked when an action occurs. This implementation supports the add and delete buttons.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      e - the event that has occurred
    • stopTableEditing

      protected void stopTableEditing()
      Stop any editing that is currently being done on the table. This will save any changes that have already been made.