From ce05c72872fe4e4581f97bc641fcebf2c10593e5 Mon Sep 17 00:00:00 2001 From: timofeevmd Date: Tue, 2 Jul 2024 21:10:22 +0400 Subject: [PATCH] update scns Signed-off-by: timofeevmd --- src/test/java/Configs/LoadProfile.java | 10 +- src/test/java/requests/Queries.java | 7 +- src/test/java/scenarious/GeneralQueries.java | 599 ++++++- src/test/java/scenarious/HealthCheck.java | 1373 +++++++++++++++++ .../simulation/PerformanceSimulation.java | 3 +- src/test/resources/gatling.conf | 4 +- 6 files changed, 1951 insertions(+), 45 deletions(-) create mode 100644 src/test/java/scenarious/HealthCheck.java diff --git a/src/test/java/Configs/LoadProfile.java b/src/test/java/Configs/LoadProfile.java index 1f09025..a5c7ada 100644 --- a/src/test/java/Configs/LoadProfile.java +++ b/src/test/java/Configs/LoadProfile.java @@ -7,11 +7,11 @@ public class LoadProfile { public static OpenInjectionStep getMaxPerformanceOpenProfile() { - return incrementUsersPerSec(Double.parseDouble(System.getProperty("concurrentUsers"))) - .times(Integer.parseInt(System.getProperty("times"))) - .eachLevelLasting(Integer.parseInt(System.getProperty("stageDuration"))) - .separatedByRampsLasting(Integer.parseInt(System.getProperty("rampDuration"))) - .startingFrom(Integer.parseInt(System.getProperty("startingFrom"))); + return incrementUsersPerSec(Double.parseDouble(System.getProperty("concurrentUsers")))//20 + .times(Integer.parseInt(System.getProperty("times")))//5 + .eachLevelLasting(Integer.parseInt(System.getProperty("stageDuration")))//5 + .separatedByRampsLasting(Integer.parseInt(System.getProperty("rampDuration")))//5 + .startingFrom(Integer.parseInt(System.getProperty("startingFrom")));//20 } public static OpenInjectionStep getMaxPerformance() { diff --git a/src/test/java/requests/Queries.java b/src/test/java/requests/Queries.java index 58e311d..c8a939c 100644 --- a/src/test/java/requests/Queries.java +++ b/src/test/java/requests/Queries.java @@ -13,6 +13,12 @@ public class Queries extends Constants { + public static ChainBuilder healthCheck = exec(feed(CSV_FEEDER)).exec(feed(PEERS_FEEDER)) + .exec(http("health check") + .get(session -> { + return session.getString("peer") + "health"; + })); + public static ChainBuilder queryPostFindAllDomains = exec(feed(CSV_FEEDER)).exec(feed(PEERS_FEEDER)) .exec(http("findAllDomains query") .post(session -> { @@ -39,7 +45,6 @@ public class Queries extends Constants { .account(ExtensionsKt.asAccountId(session.getString("anotherDevAccountIdSender"))) .buildSigned(Constants.ALICE_KEYPAIR).getQuery()); })) - ); public static ChainBuilder queryPostFindAllAssets = exec(feed(CSV_FEEDER)).exec(feed(PEERS_FEEDER)) diff --git a/src/test/java/scenarious/GeneralQueries.java b/src/test/java/scenarious/GeneralQueries.java index 2cb4a28..698b0e2 100644 --- a/src/test/java/scenarious/GeneralQueries.java +++ b/src/test/java/scenarious/GeneralQueries.java @@ -11,110 +11,637 @@ public class GeneralQueries { public static ScenarioBuilder generalQueries = scenario("general queries") .feed(csv("preconditionList.csv").circular()) - .exec(Queries.queryPostFindAllDomains, + .exec( Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, Queries.queryPostFindAllAssets, - Queries.queryPostFindAllDomains, Queries.queryPostFindAccountsByDomainId, - Queries.queryPostFindAllAssets); + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets, + Queries.queryPostFindAccountsByDomainId, + //Queries.queryPostFindAllDomains, + Queries.queryPostFindAllAssets + ); } diff --git a/src/test/java/scenarious/HealthCheck.java b/src/test/java/scenarious/HealthCheck.java new file mode 100644 index 0000000..090d4b8 --- /dev/null +++ b/src/test/java/scenarious/HealthCheck.java @@ -0,0 +1,1373 @@ +package scenarious; + +import io.gatling.javaapi.core.ScenarioBuilder; +import requests.Queries; + +import static io.gatling.javaapi.core.CoreDsl.csv; +import static io.gatling.javaapi.core.CoreDsl.scenario; + + +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 healthCheck = scenario("health check") + .feed(csv("preconditionList.csv").circular()) + .exec( + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck, + Queries.healthCheck + ); + +} diff --git a/src/test/java/simulation/PerformanceSimulation.java b/src/test/java/simulation/PerformanceSimulation.java index e0d4ce9..8773544 100644 --- a/src/test/java/simulation/PerformanceSimulation.java +++ b/src/test/java/simulation/PerformanceSimulation.java @@ -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.getMaxPerformance()).protocols(httpProtocol)); + setUp(healthCheck.injectOpen(LoadProfile.getMaxPerformance()).protocols(httpProtocol)).maxDuration(Long.parseLong(System.getProperty("maxDuration"))); } } diff --git a/src/test/resources/gatling.conf b/src/test/resources/gatling.conf index 33f7197..07c2b1e 100644 --- a/src/test/resources/gatling.conf +++ b/src/test/resources/gatling.conf @@ -12,7 +12,7 @@ gatling { #rawFileBodiesInMemoryMaxSize = 10240 # Max bite size of raw files to be cached in memory #pebbleFileBodiesCacheMaxCapacity = 200 # Cache size for request body Pebble templates, set to 0 to disable #feederAdaptiveLoadModeThreshold = 100 # File size threshold (in MB). Below load eagerly in memory, above use batch mode with default buffer size - #shutdownTimeout = 10000 # Milliseconds to wait for the actor system to shutdown + #shutdownTimeout = 30000 # Milliseconds to wait for the actor system to shutdown extract { regex { #cacheMaxCapacity = 200 # Cache size for the compiled regexes, set to 0 to disable caching @@ -81,7 +81,7 @@ gatling { #perUserCacheMaxCapacity = 200 # Per virtual user cache size, set to 0 to disable #warmUpUrl = "https://gatling.io" # The URL to use to warm-up the HTTP stack (blank means disabled) pooledConnectionIdleTimeout = 60000 # Timeout in millis for a connection to stay idle in the pool - requestTimeout = 10000 # Timeout in millis for performing an HTTP request + requestTimeout = 30000 # Timeout in millis for performing an HTTP request #enableHostnameVerification = false # When set to true, enable hostname verification: SSLEngine.setHttpsEndpointIdentificationAlgorithm("HTTPS") dns { #queryTimeout = 5000 # Timeout in millis of each DNS query in millis