Package org.apache.jmeter
Class JMeter
java.lang.Object
org.apache.jmeter.JMeter
- All Implemented Interfaces:
 JMeterPlugin
Main JMeter class; processes options and starts the GUI, non-GUI or server as appropriate.
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidconvertSubTree(HashTree tree) Deprecated.This method does not correctly handle a tree with Replaceable controllers that contain NoThreadClone element.static HashTreeconvertSubTree(HashTree tree, boolean cloneAtEnd) This function does the following: Remove disabled elements Replace the ReplaceableController with the target subtree If cloneAtEnd is true : Clone the tree to ensure Commonly referenced NoThreadClone elements are cloned THIS IS INTERNAL JMETER API and should be used with careString[][]String[][]static booleanisNonGUI()Check if JMeter is running in non-GUI mode.voidTakes the command line arguments and uses them to determine how to startup JMeter. 
- 
Field Details
- 
UDP_PORT_DEFAULT
public static final int UDP_PORT_DEFAULT- See Also:
 
 - 
HTTP_PROXY_PASS
- See Also:
 
 - 
HTTP_PROXY_USER
- See Also:
 
 - 
JMETER_NON_GUI
- See Also:
 
 - 
JMETER_REPORT_OUTPUT_DIR_PROPERTY
- See Also:
 
 - 
TREE_ICON_SIZE
- See Also:
 
 - 
DEFAULT_TREE_ICON_SIZE
- See Also:
 
 - 
KEY_SIZE
- See Also:
 
 
 - 
 - 
Constructor Details
- 
JMeter
public JMeter() 
 - 
 - 
Method Details
- 
start
Takes the command line arguments and uses them to determine how to startup JMeter. Called reflectively byNewDriver.main(String[])- Parameters:
 args- The arguments for JMeter
 - 
convertSubTree
Deprecated.This method does not correctly handle a tree with Replaceable controllers that contain NoThreadClone element. UseconvertSubTree(HashTree, boolean)This function does the following:- Remove disabled elements
 - Replace the ReplaceableController with the target subtree
 - Clone the tree to ensure Commonly referenced NoThreadClone elements are cloned
 
- Parameters:
 tree- TheHashTreeto convert
 - 
convertSubTree
This function does the following:- Remove disabled elements
 - Replace the ReplaceableController with the target subtree
 - If cloneAtEnd is true : Clone the tree to ensure Commonly referenced NoThreadClone elements are cloned
 
 - 
getIconMappings
- Specified by:
 getIconMappingsin interfaceJMeterPlugin
 - 
getResourceBundles
- Specified by:
 getResourceBundlesin interfaceJMeterPlugin
 - 
isNonGUI
public static boolean isNonGUI()Check if JMeter is running in non-GUI mode.- Returns:
 - true if JMeter is running in non-GUI mode.
 
 
 -