|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.testelement.AbstractTestElement org.apache.jmeter.config.ConfigTestElement org.apache.jmeter.protocol.java.config.JavaConfig
public class JavaConfig
The JavaConfig
class contains the configuration data necessary
for the Java protocol. This data is used to configure a
JavaSamplerClient
instance to
perform performance test samples.
Field Summary |
---|
Fields inherited from class org.apache.jmeter.config.ConfigTestElement |
---|
PASSWORD, USERNAME |
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
---|---|
JavaConfig()
Constructor for the JavaConfig object |
Method Summary | |
---|---|
void |
addArgument(String name,
String value)
Adds an argument to the list of arguments for this JavaConfig object. |
Arguments |
getArguments()
Gets the arguments for this JavaConfig object. |
String |
getClassname()
Gets the class name attribute of the JavaConfig object. |
void |
removeArguments()
Removes all of the arguments associated with this JavaConfig object. |
void |
setArguments(Arguments args)
Set all of the arguments for this JavaConfig object. |
void |
setClassname(String classname)
Sets the class name attribute of the JavaConfig object. |
Methods inherited from class org.apache.jmeter.config.ConfigTestElement |
---|
addConfigElement, addTestElement, expectsModification |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jmeter.config.ConfigElement |
---|
clone |
Constructor Detail |
---|
public JavaConfig()
Method Detail |
---|
public void setClassname(String classname)
JavaSamplerClient
implementation which will be used to execute the test.
classname
- the new classname valuepublic String getClassname()
JavaSamplerClient
implementation which will be used to execute the test.
public void addArgument(String name, String value)
JavaSamplerClient
implementation can access these arguments through the
JavaSamplerContext
.
name
- the name of the argument to be addedvalue
- the value of the argument to be addedpublic void removeArguments()
public void setArguments(Arguments args)
JavaSamplerClient
implementation can access these arguments through the
JavaSamplerContext
.
args
- the new argumentspublic Arguments getArguments()
JavaSamplerClient
implementation can access these arguments through the
JavaSamplerContext
.
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |