diff --git a/src/main/java/jp/co/soramitsu/load/LoadProfiles.java b/src/main/java/jp/co/soramitsu/load/LoadProfiles.java index 37a8680..15a7f28 100644 --- a/src/main/java/jp/co/soramitsu/load/LoadProfiles.java +++ b/src/main/java/jp/co/soramitsu/load/LoadProfiles.java @@ -20,7 +20,7 @@ public static OpenInjectionStep getMaxPerformanceOpenProfile() { .times(SimulationConfig.simulation.times()) .eachLevelLasting(SimulationConfig.simulation.stageDuration()) .separatedByRampsLasting(SimulationConfig.simulation.rampDuration()) - .startingFrom(0); + .startingFrom(SimulationConfig.simulation.startingFrom()); } public static ClosedInjectionStep[] getStabilityClosedProfile() { diff --git a/src/test/java/jp/co/soramitsu/load/simulation/transaction/PerformanceSimulation.java b/src/test/java/jp/co/soramitsu/load/simulation/transaction/PerformanceSimulation.java index e6c3492..f711023 100644 --- a/src/test/java/jp/co/soramitsu/load/simulation/transaction/PerformanceSimulation.java +++ b/src/test/java/jp/co/soramitsu/load/simulation/transaction/PerformanceSimulation.java @@ -8,7 +8,7 @@ public class PerformanceSimulation extends Simulation { { setUp( //jp.co.soramitsu.load.SetUp.Companion.apply().injectOpen(OpenInjectionStep.atOnceUsers(1)) - TransferAssets.Companion.apply().injectClosed(LoadProfiles.getMaxPerformanceClosedProfile()) + TransferAssets.Companion.apply().injectOpen(LoadProfiles.getMaxPerformanceOpenProfile()) //.andThen(TransferAssets.Companion.apply().injectOpen(LoadProfiles.getStabilityOpenProfile())) .andThen(CleanUp.Companion.apply().injectOpen(OpenInjectionStep.atOnceUsers(1))) ).protocols(Protocols.httpProtocol);