Class DslBackendListener<T extends DslBackendListener<T>>

    • Field Detail

      • url

        protected final String url
      • listenerClass

        protected final Class<? extends org.apache.jmeter.visualizers.backend.BackendListenerClient> listenerClass
      • queueSize

        protected int queueSize
    • Constructor Detail

      • DslBackendListener

        protected DslBackendListener​(Class<? extends org.apache.jmeter.visualizers.backend.BackendListenerClient> listenerClass,
                                     String url)
    • Method Detail

      • queueSize

        public T queueSize​(int queueSize)
        Specifies the length of sample results queue used to asynchronously send the information to the backend service.

        When the queue reaches this limit, then the test plan execution will be affected since sample results will get blocked until there is space in the queue, affecting the general execution of the test plan and in consequence collected metrics.

        When not specified, this value defaults to 5000.

        Parameters:
        queueSize - the size of the queue to use.
        Returns:
        the listener for further configuration or usage.
      • buildListenerArguments

        protected abstract org.apache.jmeter.config.Arguments buildListenerArguments()