Interface Measurement

  • All Known Implementing Classes:
    MeasurementImpl

    public interface Measurement
    Measurement is used in performance tests to measure the result of execution. Recorded metrics will be flushed into the storage registered.

    Author:
    Erhan Bagdemir
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void measure​(java.lang.String stepName, java.lang.String status)
      Call measure(String, int) to measure the temporal metrics.
      void purge()
      Purge the backing data structure by deleting all the events stored.
      void record​(LogEvent event)
      The LogEvent will be recorded and stored internally.
    • Method Detail

      • measure

        void measure​(java.lang.String stepName,
                     java.lang.String status)
        Call measure(String, int) to measure the temporal metrics.

        Parameters:
        stepName - The name of the step.
        status - HTTP status of the load execution.
      • record

        void record​(LogEvent event)
        The LogEvent will be recorded and stored internally. The EventDispatcher will then dispatch the persisted events to the instances which process these events.

        Parameters:
        event - log event.
      • purge

        void purge()
        Purge the backing data structure by deleting all the events stored.