10 Commits

Author SHA1 Message Date
lq64 25ecc1e097 feat: NCS-73 Refine Gatlin tests to reflect ordinary user behaviour (#7)
Added realistic user behaviour
Smoke Test

  1 user, runs once.
  Executes the full user journey exactly once. The goal is a fast sanity check — if this passes, the system is up
  and the critical path (register, login, import, move, resign) works end-to-end. Run this before any heavier
  test.

  ---
  Load Test

  Ramps up to maxUsers (default 10) over rampDuration (default 60s).
  Simulates normal growing traffic. Users are added gradually, each completing the full journey. This reveals how
  the system behaves under typical production load and establishes a performance baseline (response times, error
  rates) to compare other tests against.

  ---
  Stress Test

  Starts at startUsers (default 2), adds usersIncrement (default 2) users every stepDuration (default 30s) for
  steps (default 2) steps, with ramps between.
  Deliberately pushes the system beyond normal capacity in controlled steps. Each step holds load steady before
  increasing, so you can pinpoint exactly at which user count the system starts degrading or failing — the
  breaking point.

  ---
  Endurance Test

  Holds concurrentUsers (default 3) constant for duration (default 300s).
  Keeps a steady number of users playing full games repeatedly over a long period. This is the most important test
   for detecting slow degradation — memory leaks, connection pool exhaustion, database lock buildup — things that
  only appear after sustained use rather than under peak load.

  ---
  Spike Test

  Baseline → sudden burst of spikeUsers (default 15) → 5s pause → back to baseline.
  Simulates an unexpected traffic surge (e.g. a news article or viral moment). Tests whether the system can absorb
   a sudden large wave of users registering and starting games simultaneously, and whether it recovers cleanly
  once the spike subsides.

---------

Co-authored-by: LQ63 <lkhermann@web.de>
Reviewed-on: #7
Reviewed-by: Janis <janis-e@gmx.de>
Co-authored-by: Leon Hermann <lq@blackhole.local>
Co-committed-by: Leon Hermann <lq@blackhole.local>
2026-05-05 19:51:12 +02:00
lq64 427ed920d0 feat: NCS-62, NCS-64 Endurance Test, Spike Test (#6)
Added two new types of tests

---------

Co-authored-by: LQ63 <lkhermann@web.de>
Reviewed-on: #6
2026-05-05 17:17:38 +02:00
lq64 99ea686ed5 feat: NCS-60 Stress Test (#3)
Added a stress test and configured the parameters to simulate a smaller load

---------

Co-authored-by: LQ63 <lkhermann@web.de>
Reviewed-on: #3
2026-05-05 17:09:42 +02:00
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
lq64 3fa39bb4f4 Merge pull request 'feat(Gatlin): Setup' (#1) from feat/NCS-57 into main
Reviewed-on: #1
2026-05-03 13:00:32 +02:00
LQ63 a7937fcef8 fix(Gatlin): Setup
deleted .claude
2026-05-03 12:58:56 +02:00
LQ63 00c2f99415 fix(Gatlin): Setup
gitignore
2026-05-01 01:07:27 +02:00
LQ63 bf771aff65 docs(Gatlin): Setup
Deleted documentation plan
2026-05-01 00:38:45 +02:00
LQ63 0c5b83aa74 feat(Gatlin): Setup
Added Gatlin Setup and a test "test".
2026-05-01 00:36:18 +02:00
lq64 df4f1809a9 Initial commit 2026-04-30 20:17:19 +02:00