org.apache.jmeter

## Class JMeter

- java.lang.Object
- - org.apache.jmeter.JMeter

- All Implemented Interfaces:
    JMeterPlugin

      public class JMeter
      extends java.lang.Object
      implements JMeterPlugin

  Main JMeter class; processes options and starts the GUI, non-GUI or server as appropriate.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `DEFAULT_TREE_ICON_SIZE`
    `static java.lang.String` | `HTTP_PROXY_PASS`
    `static java.lang.String` | `HTTP_PROXY_USER`
    `static java.lang.String` | `JMETER_NON_GUI`
    `static java.lang.String` | `JMETER_REPORT_OUTPUT_DIR_PROPERTY`
    `protected static java.lang.String` | `KEY_SIZE`
    `static java.lang.String` | `TREE_ICON_SIZE`
    `static int` | `UDP_PORT_DEFAULT`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JMeter()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `convertSubTree(HashTree tree)` Remove disabled elements Replace the ReplaceableController with the target subtree
    `java.lang.String[][]` | `getIconMappings()`
    `java.lang.String[][]` | `getResourceBundles()`
    `static boolean` | `isNonGUI()` Check if JMeter is running in non-GUI mode.
    `void` | `start(java.lang.String[] args)` Takes the command line arguments and uses them to determine how to startup JMeter.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### UDP_PORT_DEFAULT

          public static final int UDP_PORT_DEFAULT

      See Also:
        Constant Field Values

    - #### HTTP_PROXY_PASS

          public static final java.lang.String HTTP_PROXY_PASS

      See Also:
        Constant Field Values

    - #### HTTP_PROXY_USER

          public static final java.lang.String HTTP_PROXY_USER

      See Also:
        Constant Field Values

    - #### JMETER_NON_GUI

          public static final java.lang.String JMETER_NON_GUI

      See Also:
        Constant Field Values

    - #### JMETER_REPORT_OUTPUT_DIR_PROPERTY

          public static final java.lang.String JMETER_REPORT_OUTPUT_DIR_PROPERTY

      See Also:
        Constant Field Values

    - #### TREE_ICON_SIZE

          public static final java.lang.String TREE_ICON_SIZE

      See Also:
        Constant Field Values

    - #### DEFAULT_TREE_ICON_SIZE

          public static final java.lang.String DEFAULT_TREE_ICON_SIZE

      See Also:
        Constant Field Values

    - #### KEY_SIZE

          protected static final java.lang.String KEY_SIZE

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### JMeter

          public JMeter()

  - ### Method Detail

    - #### start

          public void start(java.lang.String[] args)

      Takes the command line arguments and uses them to determine how to startup JMeter. Called reflectively by `NewDriver.main(String[])`
      Parameters:
        `args` - The arguments for JMeter

    - #### convertSubTree

          public static void convertSubTree(HashTree tree)

      Remove disabled elements Replace the ReplaceableController with the target subtree
      Parameters:
        `tree` - The `HashTree` to convert

    - #### getIconMappings

          public java.lang.String[][] getIconMappings()

      Specified by:
        `getIconMappings` in interface `JMeterPlugin`

    - #### getResourceBundles

          public java.lang.String[][] getResourceBundles()

      Specified by:
        `getResourceBundles` in interface `JMeterPlugin`

    - #### isNonGUI

          public static boolean isNonGUI()

      Check if JMeter is running in non-GUI mode.
      Returns:
        true if JMeter is running in non-GUI mode.

Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.