Skip to content

Commit

Permalink
Merge pull request #104 from soramitsu/query_with_reports
Browse files Browse the repository at this point in the history
update scns
  • Loading branch information
timofeevmd authored Jul 3, 2024
2 parents 8a74e84 + 62fb750 commit dcac7c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/test/java/scenarious/HealthCheck.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ public class HealthCheck {

//./mvnw gatling:test -DtargetURL=https://iroha2.test2.tachi.soramitsu.co.jp -DremoteLogin=iroha2-test -DremotePassword=7kUHkgq30JBeVyJVZ4Z1wbGBP3vah3 -Dintensity=450 -DrampDuration=120 -DmaxDuration=120


public static ScenarioBuilder generalQueries = scenario("general queries")
public static ScenarioBuilder healthCheck = scenario("health check")
.feed(csv("preconditionList.csv").circular())
.exec(
Queries.healthCheck,
Expand Down
3 changes: 2 additions & 1 deletion src/test/java/simulation/PerformanceSimulation.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@

import static Configs.Protocol.httpProtocol;
import static scenarious.GeneralQueries.generalQueries;
import static scenarious.HealthCheck.healthCheck;

public class PerformanceSimulation extends Simulation {
{
setUp(generalQueries.injectOpen(LoadProfile.getMaxPerformanceOpenProfile()).protocols(httpProtocol)).maxDuration(Long.parseLong(System.getProperty("maxDuration")));
setUp(healthCheck.injectOpen(LoadProfile.getMaxPerformance()).protocols(httpProtocol)).maxDuration(Long.parseLong(System.getProperty("maxDuration")));
}
}

0 comments on commit dcac7c7

Please sign in to comment.