Files
foxhunt/testing/load
jgrusewski e2a0576ef5 docs: create/update README.md for all services, CLI, and testing crates
Create 3 missing service READMEs (api_gateway, data_acquisition_service,
trading_agent_service). Create bin/fxt/README.md. Create
testing/service-integration/README.md. Update existing service and testing
READMEs to standard template. Delete 4 subdirectory READMEs from
testing/integration/ and testing/e2e/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 22:50:38 +01:00
..

load

Minimal-dependency load tests for Trading Service throughput validation. Rust gRPC tests (direct port 50052) plus authenticated ghz shell scripts (API Gateway port 50051).

Test Suites

Rust Tests (direct trading service)

  • test_1_baseline_latency -- 1K sequential orders
  • test_2_concurrent_connections -- 100 clients x 100 orders
  • test_3_sustained_load (ignored) -- 5 min, 10K orders/sec
  • test_4_database_performance -- 5K order DB writes
  • test_5_resource_monitoring -- health + metrics (feature health-checks)
  • test_6_production_readiness -- 50 clients x 200 orders, success >= 99%

ghz Scripts (API Gateway with JWT)

  • ghz_quick_auth_test.sh -- single authenticated request
  • ghz_authenticated.sh -- baseline/medium/high/sustained scenarios

Usage

cargo test -p load --release -- --nocapture