|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.control.GenericController
org.apache.jmeter.control.ModuleController
public class ModuleController
The goal of ModuleController is to add modularity to JMeter. The general idea is that web applications consist of small units of functionality (i.e. Logon, Create Account, Logoff...) which consist of requests that implement the functionality. These small units of functionality can be stored in SimpleControllers as modules that can be linked together quickly to form tests. ModuleController facilitates this by acting as a pointer to any controller that sits under the WorkBench. The controller and it's subelements will be substituted in place of the ModuleController at runtime. Config elements can be attached to the ModuleController to alter the functionality (which user logs in, which account is created, etc.) of the module.
Field Summary |
---|
Fields inherited from class org.apache.jmeter.control.GenericController |
---|
current, subControllersAndSamplers |
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
---|---|
ModuleController()
No-arg constructor |
Method Summary | |
---|---|
Object |
clone()
|
List<?> |
getNodePath()
|
HashTree |
getReplacementSubTree()
Used to replace the test execution tree (usually by adding the subelements of the TestElement that is replacing the ReplaceableController. |
JMeterTreeNode |
getSelectedNode()
Gets the (@link JMeterTreeNode) for the Controller |
void |
resolveReplacementSubTree(JMeterTreeNode context)
Compute the replacement tree. |
void |
setSelectedNode(JMeterTreeNode tn)
Sets the (@link JMeterTreeNode) which represents the controller which this object is pointing to. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jmeter.testelement.TestElement |
---|
canRemove, clear, clearTestElementChildren, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse |
Constructor Detail |
---|
public ModuleController()
Object.Object()
Method Detail |
---|
public Object clone()
clone
in interface TestElement
clone
in class AbstractTestElement
public void setSelectedNode(JMeterTreeNode tn)
tn
- JMeterTreeNodeJMeterTreeNode
public JMeterTreeNode getSelectedNode()
public List<?> getNodePath()
public void resolveReplacementSubTree(JMeterTreeNode context)
resolveReplacementSubTree
in interface ReplaceableController
context
- the starting point of the replacementpublic HashTree getReplacementSubTree()
getReplacementSubTree
in interface ReplaceableController
HashTree
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |