Files
Gatlin/src/gatling/scala/simulations/SmokeTestSimulation.scala
T
lq64 0db2bb777f 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>
2026-05-03 22:26:46 +02:00

14 lines
286 B
Scala

package simulations
import base.BaseSimulation
import endpoints.BoardEndpoints
import io.gatling.core.Predef._
class SmokeTestSimulation extends BaseSimulation {
setUp(
scenarioFromEndpoint(BoardEndpoints.createGame)
.inject(atOnceUsers(1))
).protocols(httpProtocol)
}