gen_test_subscribers
Create test subscribers with deterministic usernames and passwords for smoke-testing REGISTER paths and generating synthetic load against fresh OpenSIPS deployments.
Instructions
Generate N test subscribers with predictable usernames + passwords.
Useful for smoke-testing REGISTER paths and synthetic load against
a fresh deployment. Test users are named <prefix>NNNN with
deterministic passwords so a SIPp scenario can authenticate
without external state.
Parameters
domain:
Domain to provision under. Validated against validate_domain.
count:
Number to create. Cap: 500.
username_prefix:
Username prefix; default test produces test0001..testNNNN.
password_prefix:
Password prefix; defaults to secret so test passwords look
like secret0001.
dry_run:
Default True. Returns the plan without writing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| count | No | ||
| username_prefix | No | test | |
| password_prefix | No | secret | |
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||