Skip to content

Load test harness: k6 or artillery stub #158

@1nonlypiece

Description

@1nonlypiece

Description

Optional scripted load smoke in CI or docs.

Requirements and context

  • Non-flaky

  • Must be secure, tested, and aligned with existing Express + TypeScript patterns

  • Should be observable (logging/metrics where appropriate) without leaking PII

Suggested execution

  1. Fork the repository and create a branch: git checkout -b test/load-stub
  2. Implement changes in Disciplr-backend only (no frontend / contracts in this issue)

Implement

  • tests/ or script

Tests and documentation

  • Extend or add Jest / tsx --test suites as appropriate
  • Run: npm test
  • Update inline comments or existing docs under Disciplr-backend/docs only if the feature needs it (no unsolicited new markdown files)

Test and commit

  1. Run tests with coverage if configured; cover edge cases listed in requirements
  2. Paste summarized test output in the PR
  3. Note any security or data-handling implications

Example commit message

test(perf): add load smoke harness

Guidelines

Item Target
Test coverage 95% on new/changed backend code where feasible
API contracts Stable JSON shapes; document breaking changes in PR
Timeframe 96 hours from assignment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programbackendDisciplr API serverperfPerformance testingtestAutomated tests

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions