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 Summary
Modifier 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
- 
addURL
Add a URL to the loader classpath only; does not update the system classpath.- Parameters:
 path- to be added.- Throws:
 MalformedURLException- whenpathpoints to an invalid url
 - 
addURL
Add a URL to the loader classpath only; does not update the system classpath.- Parameters:
 url- TheURLto add to the classpath
 - 
addPath
Add a directory or jar to the loader and system classpaths.- Parameters:
 path- to add to the loader and system classpath- Throws:
 MalformedURLException- ifpathcan not be transformed to a validURL
 - 
getJMeterDir
Get the directory where JMeter is installed. This is the absolute path name.- Returns:
 - the directory where JMeter is installed.
 
 - 
main
The main program which actually runs JMeter.- Parameters:
 args- the command line arguments
 
 -