Class IncludeController

All Implemented Interfaces:
Serializable, Cloneable, Controller, ReplaceableController, Searchable, org.apache.jmeter.testelement.TestElement, TestCompilerHelper

public class IncludeController extends GenericController implements ReplaceableController
See Also:
  • Constructor Details

    • IncludeController

      public IncludeController()
      No-arg constructor
      See Also:
  • Method Details

    • getSchema

      public org.apache.jmeter.control.IncludeControllerSchema getSchema()
      Specified by:
      getSchema in interface org.apache.jmeter.testelement.TestElement
      getSchema in class GenericController
    • getProps

      public org.apache.jmeter.testelement.schema.PropertiesAccessor<? extends IncludeController,? extends org.apache.jmeter.control.IncludeControllerSchema> getProps()
      Specified by:
      getProps in interface org.apache.jmeter.testelement.TestElement
      getProps in class GenericController
    • clone

      public Object clone()
      Specified by:
      clone in interface org.apache.jmeter.testelement.TestElement
      clone in class AbstractTestElement
    • setIncludePath

      public void setIncludePath(String jmxfile)
      In the event an user wants to include an external JMX test plan the GUI would call this.
      jmxfile - The path to the JMX test plan to include
    • getIncludePath

      public String getIncludePath()
      return the JMX file path.
      the JMX file path
    • getReplacementSubTree

      public HashTree getReplacementSubTree()
      The way ReplaceableController works is clone is called first, followed by replace(HashTree) and finally getReplacement().
      Specified by:
      getReplacementSubTree in interface ReplaceableController
      The replaced sub tree
      See Also:
    • getReplacementElement

      public org.apache.jmeter.testelement.TestElement getReplacementElement()
    • resolveReplacementSubTree

      public void resolveReplacementSubTree(JMeterTreeNode context)
      Description copied from interface: ReplaceableController
      Compute the replacement tree.
      Specified by:
      resolveReplacementSubTree in interface ReplaceableController
      context - the starting point of the replacement
    • loadIncludedElements

      protected HashTree loadIncludedElements()
      load the included elements using SaveService
      tree with loaded elements