Skip to content

Commit

Permalink
Merge pull request #117 from soramitsu/update/pom.xml
Browse files Browse the repository at this point in the history
update pom.xml, scn
  • Loading branch information
timofeevmd authored Jul 10, 2024
2 parents f754d04 + 2376755 commit 1ab2231
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
9 changes: 4 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,10 @@
<artifactId>gatling-maven-plugin</artifactId>
<version>${gatling-maven-plugin.version}</version>
<configuration>
<!-- Enterprise Cloud (https://cloud.gatling.io/)
configuration reference:
https://gatling.io/docs/gatling/reference/current/extensions/maven_plugin/#working-with-gatling-enterprise-cloud -->
<!-- Enterprise Self-Hosted configuration reference:
https://gatling.io/docs/gatling/reference/current/extensions/maven_plugin/#working-with-gatling-enterprise-self-hosted -->
<overrideJvmArgs>
<arg>-Xms25600m</arg>
<arg>-Xmx25600m</arg>
</overrideJvmArgs>
</configuration>
</plugin>
<plugin>
Expand Down
9 changes: 3 additions & 6 deletions src/test/java/scenarious/GeneralQueries.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
2 changes: 1 addition & 1 deletion src/test/java/simulation/PerformanceSimulation.java
Original file line number Diff line number Diff line change
Expand Up @@ -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")));
}
}

0 comments on commit 1ab2231

Please sign in to comment.