Class SimulationMetadata


  • public class SimulationMetadata
    extends java.lang.Object
    SimulationMetadata is representation of a single performance testing job. The instances of SimulationMetadata is created by using the metadata provided on annotated benchmark entities. Simulation metadata entities do comprise scenarios, that are run per user on a single thread. For each scenario there will be a new SimulationMetadata instance created so as to run the scenario isolated on a single thread.

    The job instances are created by SimulationJobsScanner classes.

    Since:
    1.0.0
    Author:
    Erhan Bagdemir
    See Also:
    Simulation
    • Method Detail

      • getPrepareMethod

        public java.lang.reflect.Method getPrepareMethod()
      • getCleanupMethod

        public java.lang.reflect.Method getCleanupMethod()
      • getReportingURI

        public java.lang.String getReportingURI()
      • getNumberOfUsers

        public int getNumberOfUsers()
      • getDuration

        public java.time.Duration getDuration()
      • getScenarios

        public java.util.List<Scenario> getScenarios()
      • getDsls

        public java.util.List<DslBuilder> getDsls()
      • getDslMethods

        public java.util.List<DslMethod> getDslMethods()
      • getSimulationClass

        public java.lang.Class getSimulationClass()
      • isEnableInflux

        public boolean isEnableInflux()
      • getBeforeMethod

        public java.lang.reflect.Method getBeforeMethod()
      • getAfterMethod

        public java.lang.reflect.Method getAfterMethod()
      • getSimulationName

        public java.lang.String getSimulationName()
      • getTestInstance

        public java.lang.Object getTestInstance()
      • getRampUpInfo

        public RampupInfo getRampUpInfo()
      • getUserRegion

        public java.lang.String getUserRegion()