Index
๐๏ธโโ๏ธ WRK Load Testing Guideยถ
โ๏ธ Installationยถ
Verify Installation
Run wrk --help to confirm successful installation.
๐งช Test Environment Setupยถ
- Start required services:
- Run
docker-compose upto launch dependencies. - Checkout and run the
mock/loadTestbranch locally to create 500 users. - Start
smpp-adapterusing themock/sia_testbranch for immediate responses tosia-gateway.
- Run
User Creation
The mock/loadTest branch automates user creation for benchmarking.
๐ฆ Running Benchmarksยถ
Example: Test with 1,000 users, 10 threads, for 10 seconds.
Script Usage
The sia-api.lua script customizes WRK requests for your API.
๐ Resultsยถ
- WRK outputs latency, throughput, and detailed statistics.
- Review logs and monitoring dashboards for deeper analysis.
Resource Usage
High concurrency may impact local system performance. Monitor CPU and memory during tests.