Class GraphQLUrlConfigGui

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

public class GraphQLUrlConfigGui extends UrlConfigGui
Extending UrlConfigGui, GraphQL over HTTP Request configuration GUI, providing more convenient UI elements for GraphQL query, variables and operationName.
See Also:
  • Field Details

  • Constructor Details

    • GraphQLUrlConfigGui

      public GraphQLUrlConfigGui()
      Constructor which is setup to show the sampler fields for GraphQL over HTTP request.
  • Method Details

    • configure

      public void configure(org.apache.jmeter.testelement.TestElement element)
      Description copied from class: UrlConfigGui
      Set the text, etc. in the UI.
      Overrides:
      configure in class UrlConfigGui
      Parameters:
      element - contains the data to be displayed
    • modifyTestElement

      public void modifyTestElement(org.apache.jmeter.testelement.TestElement element)
      Description copied from class: UrlConfigGui
      Save the GUI values in the sampler.
      Overrides:
      modifyTestElement in class UrlConfigGui
      Parameters:
      element - TestElement to modify
    • getUrlConfigDefaults

      protected UrlConfigDefaults getUrlConfigDefaults()
      Description copied from class: UrlConfigGui
      Return the UrlConfigDefaults instance to be used when configuring the UI elements and default values.
      Overrides:
      getUrlConfigDefaults in class UrlConfigGui
      Returns:
      the UrlConfigDefaults instance to be used when configuring the UI elements and default values
    • getPathPanel

      protected Component getPathPanel()
      This method defines the Panel for: the HTTP path, Method and Content Encoding 'Follow Redirects', 'Use KeepAlive', and 'Use multipart for HTTP POST' elements.

      Overridden to add the extra GraphQL Request Information section including 'operationName' text field.

      Overrides:
      getPathPanel in class UrlConfigGui
      Returns:
      JPanel The Panel for the path, 'Follow Redirects' and 'Use KeepAlive' elements.
    • getParameterPanel

      protected JTabbedPane getParameterPanel()

      Overridden to remove the existing tab for parameter arguments and GraphQL variables content pane.

      Overrides:
      getParameterPanel in class UrlConfigGui