NCS-59 Create Load tests (#2)
Added a load test and and slight change in structure. To execute type: Run the load test: ./gradlew.bat gatlingRun --simulation simulations.LoadTestSimulation -PbaseUrl=https://st.nowchess.janis-eccarius.de -PauthToken=<token> -PmaxUsers=20 -PrampDuration=60 Run smoke test: ./gradlew.bat gatlingRun --simulation simulations.SmokeTestSimulation -PbaseUrl=https://st.nowchess.janis-eccarius.de -PauthToken=<token> --------- Co-authored-by: LQ63 <lkhermann@web.de> Reviewed-on: #2 Reviewed-by: Janis <janis-e@gmx.de>
This commit was merged in pull request #2.
This commit is contained in:
+4
-1
@@ -19,7 +19,10 @@ tasks.withType(io.gatling.gradle.GatlingRunTask) {
|
||||
jvmArgs = [
|
||||
'--add-opens=java.base/java.lang=ALL-UNNAMED',
|
||||
"-Dtarget.baseUrl=${findProperty('baseUrl') ?: 'http://localhost:8080'}",
|
||||
"-Dgatling.authToken=${findProperty('authToken') ?: System.getenv('GATLING_AUTH_TOKEN') ?: ''}"
|
||||
"-Dgatling.authToken=${findProperty('authToken') ?: System.getenv('GATLING_AUTH_TOKEN') ?: ''}",
|
||||
"-Dhealthz.path=${findProperty('healthzPath') ?: '/health'}",
|
||||
"-DmaxUsers=${findProperty('maxUsers') ?: '10'}",
|
||||
"-DrampDuration=${findProperty('rampDuration') ?: '60'}"
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user