Skip to content

Commit

Permalink
update load profile to open model
Browse files Browse the repository at this point in the history
Signed-off-by: timofeevmd <[email protected]>

Signed-off-by: timofeevmd <[email protected]>
  • Loading branch information
timofeevmd committed Jun 3, 2024
1 parent 14980b3 commit 3d43dfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/jp/co/soramitsu/load/LoadProfiles.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3d43dfe

Please sign in to comment.