Go service that load tests the Cast SMS/OTP API with configurable concurrent threads, target RPS, ramp-up period, and message parts. Features live stats, final report with SMS parts tracking, and config warnings for suboptimal test parameters. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
308 B
Plaintext
15 lines
308 B
Plaintext
# SMS API Configuration
|
|
SMS_API_URL=https://api.cast.ph/api/sms/send
|
|
SMS_API_KEY=cast_your_api_key_here
|
|
SMS_SENDER_ID=CAST
|
|
SMS_RECIPIENT=09171234567
|
|
|
|
# Message Configuration
|
|
SMS_MESSAGE_PARTS=1
|
|
|
|
# Load Test Parameters
|
|
LOAD_TEST_THREADS=10
|
|
LOAD_TEST_RPS=50
|
|
LOAD_TEST_DURATION_SECS=30
|
|
LOAD_TEST_RAMP_UP_SECS=5
|