Class StatGraphVisualizer

    • Constructor Detail

      • StatGraphVisualizer

        public StatGraphVisualizer()
    • Method Detail

      • testFunctors

        public static boolean testFunctors()
      • getLabelResource

        public String getLabelResource()
        Description copied from interface: JMeterGUIComponent
        Get the component's resource name, which getStaticLabel uses to derive the component's label in the local language. The resource name is fixed, and does not vary with the selected language. Normally this method should be overriden in preference to overriding getStaticLabel(). However where the resource name is not available or required, getStaticLabel() may be overridden instead.
        Specified by:
        getLabelResource in interface JMeterGUIComponent
        Returns:
        the resource name
      • add

        public void add​(SampleResult res)
        Description copied from interface: Visualizer
        This method is called by sampling thread to inform the visualizer about the arrival of a new sample.
        Specified by:
        add in interface Visualizer
        Parameters:
        res - the newly arrived sample
      • clearData

        public void clearData()
        Clears this visualizer and its model, and forces a repaint of the table.
        Specified by:
        clearData in interface Clearable
      • makeGraph

        public void makeGraph()
      • getData

        public double[][] getData()
      • getAxisLabels

        public String[] getAxisLabels()
      • getAllTableData

        public static List<List<Object>> getAllTableData​(ObjectTableModel model,
                                                         Format[] formats)
        We use this method to get the data, since we are using ObjectTableModel, so the calling getDataVector doesn't work as expected.
        Parameters:
        model - ObjectTableModel
        formats - Array of Format array can contain null formatters in this case value is added as is
        Returns:
        the data from the model