From 2376755e1093f16ab5fd744d33673ab2ca41aeae Mon Sep 17 00:00:00 2001 From: timofeevmd Date: Wed, 10 Jul 2024 11:04:42 +0400 Subject: [PATCH] update pom.xml, scn Signed-off-by: timofeevmd --- pom.xml | 9 ++++----- src/test/java/scenarious/GeneralQueries.java | 9 +++------ src/test/java/simulation/PerformanceSimulation.java | 2 +- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 19274eb..b683da7 100644 --- a/pom.xml +++ b/pom.xml @@ -78,11 +78,10 @@ gatling-maven-plugin ${gatling-maven-plugin.version} - - + + -Xms25600m + -Xmx25600m + diff --git a/src/test/java/scenarious/GeneralQueries.java b/src/test/java/scenarious/GeneralQueries.java index a0b9262..439ed4a 100644 --- a/src/test/java/scenarious/GeneralQueries.java +++ b/src/test/java/scenarious/GeneralQueries.java @@ -11,10 +11,7 @@ public class GeneralQueries { public static ScenarioBuilder generalQueries = scenario("general queries") .feed(csv("preconditionList.csv").circular()) - .exec( - Queries.queryPostFindAccountsByDomainId, - Queries.queryPostFindAllDomains, - Queries.queryPostFindAllAssets - ); - + .exec(Queries.queryPostFindAccountsByDomainId) + .exec(Queries.queryPostFindAllDomains) + .exec(Queries.queryPostFindAllAssets); } diff --git a/src/test/java/simulation/PerformanceSimulation.java b/src/test/java/simulation/PerformanceSimulation.java index d674185..95d33c8 100644 --- a/src/test/java/simulation/PerformanceSimulation.java +++ b/src/test/java/simulation/PerformanceSimulation.java @@ -11,6 +11,6 @@ public class PerformanceSimulation extends Simulation { { - setUp(definitionId.injectOpen(LoadProfile.getMaxPerformance()).protocols(httpProtocol)).maxDuration(Long.parseLong(System.getProperty("maxDuration"))); + setUp(generalQueries.injectOpen(LoadProfile.getMaxPerformanceOpenProfile()).protocols(httpProtocol)).maxDuration(Long.parseLong(System.getProperty("maxDuration"))); } }