Interface Visualizer

  • All Implemented Interfaces:

    
    public interface Visualizer
    
                        

    Implement this method to be a Visualizer for JMeter. This interface defines a single method, "add()", that provides the means by which SampleResults are passed to the implementing visualizer for display/logging. The easiest way to create the visualizer is to extend the org.apache.jmeter.visualizers.gui.AbstractVisualizer class.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void add(SampleResult sample) This method is called by sampling thread to inform the visualizer about the arrival of a new sample.
      abstract boolean isStats() This method is used to indicate a visualizer generates statistics.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • add

         abstract void add(SampleResult sample)

        This method is called by sampling thread to inform the visualizer about the arrival of a new sample.

        Parameters:
        sample - the newly arrived sample
      • isStats

         abstract boolean isStats()

        This method is used to indicate a visualizer generates statistics.

        Returns:

        true if visualiser generates statistics