Class DslViewResultsTree

    • Field Detail

      • resultsLimit

        protected int resultsLimit
    • Constructor Detail

      • DslViewResultsTree

        public DslViewResultsTree()
    • Method Detail

      • resultsLimit

        public DslViewResultsTree resultsLimit​(int resultsLimit)
        Specifies the maximum number of sample results to show.

        When the limit is reached, only latest sample results are shown.

        Take into consideration that the greater the number of displayed results, the more system memory is required, which might cause an OutOfMemoryError depending on JVM settings.

        Parameters:
        resultsLimit - the maximum number of sample results to show. When not set the default value is 500.
        Returns:
        the visualizer for further configuration or usage.
      • buildTreeUnder

        public org.apache.jorphan.collections.HashTree buildTreeUnder​(org.apache.jorphan.collections.HashTree parent,
                                                                      BuildTreeContext context)
        Description copied from interface: DslTestElement
        Builds the JMeter HashTree for this TestElement under the provided tree node.
        Specified by:
        buildTreeUnder in interface DslTestElement
        Overrides:
        buildTreeUnder in class DslVisualizer
        Parameters:
        parent - the node which will be the parent for the created tree.
        context - context information which contains information shared by elements while building the test plan tree (eg: adding additional items to test plan when a particular protocol element is added).
        Returns:
        The tree created under the parent node.