Class ReactiveHttpSimulationRunner

    • Constructor Detail

      • ReactiveHttpSimulationRunner

        public ReactiveHttpSimulationRunner​(Context context)
    • Method Detail

      • start

        public void start()
        Description copied from interface: SimulationRunner
        Starts a simulation instance for load testing. The test will be run till the time is over, that is defined in the Simulation annotation, or EnsureDsl DSL item fails.
      • verify

        public void verify()
        Description copied from interface: SimulationRunner
        Starts a simulation instance for verification testing in which the test will be run once and depending on VerifiableDslItem DSL, the test will fail or pass.
      • times

        public void times​(int numberOfRepeats)
        Description copied from interface: SimulationRunner
        Starts a simulation instance for the number of times given as numberOfRepeats parameter. This method is handy if you run performance tests and take samples for fix sized executions.
        Parameters:
        numberOfRepeats - Number of cycles the simulation needs to run.
      • stop

        public void stop()
        Description copied from interface: SimulationRunner
        Stop the simulation instance immediately by shutting down all components.