SMS Test Data

Learn how to use the browser to test sending text messages.


Use Rainforest’s pool of SMS numbers to test your app’s ability to send text messages. Combine it with our SMS inbox placeholder to verify receipt of the text message. You can do all of this from the web browser; no mobile device is required.

SMS test data works the same way as our other built-in test data. The data acts as a placeholder in your instructions and generates a valid number when the test executes. Similar to {{random.inbox}}, {{sms.inbox}} is a virtual inbox where text messages are sent and can be viewed by our testers.

Adding SMS Test Data to a Test Step

To test sending text messages to a device, insert an SMS placeholder from the test data list.

  1. Click Insert Test Data to add an SMS placeholder.
  2. From the Built-In Data list, expand SMS and select {{sms.number}}.

Inserting SMS test data into a test step.

  1. Include a step that instructs the user to review the sent text. See Test Instructions Example.
  2. Select “SMS > {{sms.inbox}}” to receive a text message.

The {{sms.inbox}} value appears as a URL to the tester.


An SMS inbox example.

Generated Test Data Example

Like other test data, the SMS number and inbox placeholders are persistent throughout the test.

  • {{sms.number}}


  • {{sms.inbox}}

Test Instructions Example

Key in {{sms.number}} in the cell phone field. Remove the “+1” if the 10-digit number doesn’t fit in the field. Click the Send Confirmation button.

Do you see a confirmation banner?

Open a new tab in the browser and go to “{{sms.inbox}}”. Click on the most recent message.

Do you see the confirmation link?

Note: You can only use 1 {{sms.number}} in a single test. If you require more, contact our Support team to purchase your own pool of private numbers.

If you have any questions, reach out to us at [email protected].