Interface Spec

    • Method Detail

      • http

        static HttpConfigSpec http​(java.lang.String measurementPoint)
        Static factory method to create a new HttpSpec instance.

        Parameters:
        measurementPoint - Measurement point name.
        Returns:
        A new instance of Spec.
      • some

        static SomeSpec some​(java.lang.String measurementPoint)
      • isMeasurementEnabled

        boolean isMeasurementEnabled()
        Whether the measurement is enabled.

        Returns:
        True if measurement is enabled.
      • isCumulativeMeasurement

        boolean isCumulativeMeasurement()
        Whether the measurement is cumulative.

        Returns:
        True if cumulative measurement is enabled.
      • getMeasurementPoint

        java.lang.String getMeasurementPoint()
        The name of the spec. It is the step name in scenario counterpart.

        Returns:
        The name of the spec.
      • getTestName

        java.lang.String getTestName()
        Returns the test/DSL name.

        Returns:
        Test or DSL name.
      • setTestName

        void setTestName​(java.lang.String testName)
        Setter for test or DSL name.

        Parameters:
        testName - The test name from annotation.