Test gateway
The Test gateway lets you try JoomSMS without an SMS account and without spending credit. It sends nothing. Every message goes through the whole process (queue, sending, statistics), and the gateway only pretends to deliver it.
Create a test profile
- Go to Sender Profiles and click New.
- Enter a Name, for example "Test".
- Choose Test as SMS Gateway. The profile shows "This Gateway is a test one, you can select it to test the whole process but no SMS will be sent."
- Set the fields and save.
| Field | What it does |
|---|---|
| Simulated failure rate | The share of sends, from 0 to 100 %, that fail on purpose. The default is 5. Use 0 to make every send succeed, or a higher value to see how failures look in the queue and the statistics. |
| Wait X seconds between two SMS sent | A pause after each simulated SMS. |
After saving, the profile shows a balance of "999999 (simulated)" credits.
What you can check with it
- The text of a message after the tags are replaced: every simulated send is written to the log.
- Who receives a message: send it to a group and count the rows in the queue and in Statistics.
- The cron task: schedule a message with the test profile and watch it leave the queue when the cron runs.
- How failed sends are reported.
The log
Each simulated send is written to joomsms_test_gateway.php in the Joomla log folder (System > Global Configuration > System > Path to Log Folder). The profile form shows the last 20 lines, newest first, or "No simulated sends have been logged yet."
Delete the log file when you no longer need it. It holds phone numbers and message texts.
Before you go live
Create a profile for your real gateway, make it the default sender profile, and change the sender profile of your messages. A message keeps the profile it was saved with.