Save This Page
Home » jakarta-jmeter-2.3.4_src » org.apache.jmeter.control » [javadoc | source]
public class: ModuleController [javadoc | source]

All Implemented Interfaces:
    ReplaceableController, Controller, Serializable, TestElement

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.
Fields inherited from org.apache.jmeter.control.GenericController:
subControllersAndSamplers,  current
 public ModuleController() 
Method from org.apache.jmeter.control.ModuleController Summary:
clone,   getNodePath,   getReplacementSubTree,   getSelectedNode,   resolveReplacementSubTree,   setSelectedNode
Methods from org.apache.jmeter.control.GenericController:
addIterationListener,   addTestElement,   currentReturnedNull,   fireIterEvents,   fireIterationStart,   getCurrentElement,   getIterCount,   getSubControllers,   incrementCurrent,   incrementIterCount,   initialize,   isDone,   isFirst,   next,   nextIsAController,   nextIsASampler,   nextIsNull,   reInitialize,   removeCurrentElement,   resetCurrent,   resetIterCount,   setCurrentElement,   setDone,   setFirst
Methods from org.apache.jmeter.testelement.AbstractTestElement:
addProperty,   addTestElement,   canRemove,   clear,   clearTemporary,   clone,   emptyTemporary,   equals,   getName,   getProperty,   getPropertyAsBoolean,   getPropertyAsBoolean,   getPropertyAsDouble,   getPropertyAsFloat,   getPropertyAsInt,   getPropertyAsLong,   getPropertyAsString,   getThreadContext,   getThreadName,   isEnabled,   isRunningVersion,   isTemporary,   logProperties,   mergeIn,   nextIsNull,   propertyIterator,   recoverRunningVersion,   removeProperty,   setName,   setProperty,   setProperty,   setRunningVersion,   setTemporary,   setThreadContext,   setThreadName,   threadFinished,   threadStarted,   traverse,   traverseCollection,   traverseMap,   traverseProperty
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jmeter.control.ModuleController Detail:
 public Object clone() 
 public List getNodePath() 
 public HashTree getReplacementSubTree() 
    Copies the controller's subelements into the execution tree
 public JMeterTreeNode getSelectedNode() 
    Gets the (@link JMeterTreeNode) for the Controller
 public  void resolveReplacementSubTree(JMeterTreeNode context) 
    Compute the replacement tree.
 public  void setSelectedNode(JMeterTreeNode tn) 
    Sets the (@link JMeterTreeNode) which represents the controller which this object is pointing to. Used for building the test case upon execution.