Class BackendListener

    • Constructor Detail

      • BackendListener

        public BackendListener()
        Create a BackendListener.
    • Method Detail

      • testEnded

        public void testEnded​(String host)
        Method called at the end of the test. This is called only on one instance of BackendListener. This method will loop through all of the other BackendListenerClients which have been registered (automatically in the constructor) and notify them that the test has ended, allowing the BackendListenerClients to cleanup. Implements TestStateListener.testEnded(String)
        Specified by:
        testEnded in interface TestStateListener
        Parameters:
        host - name of host
        See Also:
        StandardJMeterEngine.stopTest()
      • setArguments

        public void setArguments​(Arguments args)
        Set the arguments (parameters) for the BackendListenerClient to be executed with.
        Parameters:
        args - the new arguments. These replace any existing arguments.
      • getArguments

        public Arguments getArguments()
        Get the arguments (parameters) for the BackendListenerClient to be executed with.
        Returns:
        the arguments
      • setClassname

        public void setClassname​(String classname)
        Sets the Classname of the BackendListenerClient object
        Parameters:
        classname - the new Classname value
      • getClassname

        public String getClassname()
        Gets the Classname of the BackendListenerClient object
        Returns:
        the Classname value
      • setQueueSize

        public void setQueueSize​(String queueSize)
        Sets the queue size
        Parameters:
        queueSize - the size of the queue
      • getQueueSize

        public String getQueueSize()
        Gets the queue size
        Returns:
        int queueSize