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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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_DEFAULTpublic 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- 
JMeterpublic JMeter()
 
- 
- 
Method Details- 
startTakes the command line arguments and uses them to determine how to startup JMeter. Called reflectively byNewDriver.main(String[])- Parameters:
- args- The arguments for JMeter
 
- 
convertSubTreeDeprecated.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- The- HashTreeto convert
 
- 
convertSubTreeThis 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 interface- JMeterPlugin
 
- 
getResourceBundles- Specified by:
- getResourceBundlesin interface- JMeterPlugin
 
- 
isNonGUIpublic static boolean isNonGUI()Check if JMeter is running in non-GUI mode.- Returns:
- true if JMeter is running in non-GUI mode.
 
 
-