Interface JMeterEngine

  • All Implemented Interfaces:

    
    public interface JMeterEngine
    
                        

    This interface is implemented by classes that can run JMeter tests.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void configure(HashTree testPlan) Configure engine
      abstract void runTest() Runs the test
      void stopTest() Stop test immediately interrupting current samplers
      abstract void stopTest(boolean now)
      abstract void reset() Stop test if running
      abstract void setProperties(Properties p) set Properties on engine
      abstract void exit() Exit engine
      abstract boolean isActive()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • configure

         abstract void configure(HashTree testPlan)

        Configure engine

        Parameters:
        testPlan - the test plan
      • runTest

         abstract void runTest()

        Runs the test

      • stopTest

         void stopTest()

        Stop test immediately interrupting current samplers

      • stopTest

         abstract void stopTest(boolean now)
        Parameters:
        now - boolean that tell whether stop is immediate (interrupt) or not (wait for current sample end)
      • reset

         abstract void reset()

        Stop test if running

      • setProperties

         abstract void setProperties(Properties p)

        set Properties on engine

        Parameters:
        p - the properties to set
      • exit

         abstract void exit()

        Exit engine

      • isActive

         abstract boolean isActive()
        Returns:

        boolean Flag to show whether engine is active (true when test is running). Set to false at end of test