Package org.apache.jmeter
Class NewDriver
java.lang.Object
org.apache.jmeter.NewDriver
Main class for JMeter - sets up initial classpath and the loader.
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidAdd a directory or jar to the loader and system classpaths.static voidAdd a URL to the loader classpath only; does not update the system classpath.static voidAdd a URL to the loader classpath only; does not update the system classpath.static StringGet the directory where JMeter is installed.static voidThe main program which actually runs JMeter.
- 
Method Details- 
addURLAdd a URL to the loader classpath only; does not update the system classpath.- Parameters:
- path- to be added.
- Throws:
- MalformedURLException- when- pathpoints to an invalid url
 
- 
addURLAdd a URL to the loader classpath only; does not update the system classpath.- Parameters:
- url- The- URLto add to the classpath
 
- 
addPathAdd a directory or jar to the loader and system classpaths.- Parameters:
- path- to add to the loader and system classpath
- Throws:
- MalformedURLException- if- pathcan not be transformed to a valid- URL
 
- 
getJMeterDirGet the directory where JMeter is installed. This is the absolute path name.- Returns:
- the directory where JMeter is installed.
 
- 
mainThe main program which actually runs JMeter.- Parameters:
- args- the command line arguments
 
 
-