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 void
Add a directory or jar to the loader and system classpaths.static void
Add a URL to the loader classpath only; does not update the system classpath.static void
Add a URL to the loader classpath only; does not update the system classpath.static String
Get the directory where JMeter is installed.static void
The 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
- whenpath
points to an invalid url
-
addURL
Add a URL to the loader classpath only; does not update the system classpath.- Parameters:
url
- TheURL
to 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
- ifpath
can 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
-