Learn how to use our virtual SMS servers to create end-to-end tests that cover identity verification, alerting, promotional messages and more.
How do I write SMS tests?
The approach for testing SMS messages is largely the same as emails, therefore you can follow the guides within our email testing documentation.
However, note that the Message objects have two key differences when dealing with SMS messages:
- The message’s address attributes (i.e.
bcc) will contain a populated
phoneproperty, instead of a
- The SMS content is available via the
htmlproperty will always be null for text messages.