Built-In Data

Learn how to generate random data for standard fields such as name, address, and email.

Use built-in data anywhere in your test steps to automatically generate discrete values for testers to enter. For example, in a signup test, you could provide first names, last names, and email addresses.

Note: Variables are now called test datatest data - Placeholders that allow you to inject other values into your tests. Rainforest supports three types: dynamic, static, and built-in..

Adding Built-In Test Data to a Test Step

  1. In the step editor, click Insert Test Data to display the test data menu.
Adding built-in test data to a test step.Adding built-in test data to a test step.

Adding built-in test data to a test step.

  1. In the pop-up, click any of the built-in data groups to reveal the placeholders.
Placeholders for the built-in data group.Placeholders for the built-in data group.

Placeholders for the built-in data group.

  1. Select the placeholder you want to use. Then, click the Save button.

Built-In Data Types

Rainforest provides a large number of ready-to-use placeholders. Note that the following data types apply only to the United States:

  • random.phone_number
  • random.address_state
  • random.address_zip
  • random.address_zip5
  • random.ssn
Data Type
A unique character string ending in the domain @e.rainforestqa.com.
A static URL paired with random.email in the format rainforestqa.com/{{unique character string}}. See Notes on the random.inbox Placeholder.
  • e.rainforestqa.com/aff9a400-3939-433f-a065-239514a9ee25
The person’s first name, such as Korbin.
The person’s last name, such as Cartwright.
The person’s full name, such as Korbin Cartwright.
An 8-character combination of lowercase letters and capital letters, such as yGehSMZt.
A URL to an image hosted on AWS S3. See Notes on the random.image Placeholder.
  • https://s3.eu-central-1.amazonaws.com/rainforest-random-images/001.jpeg
A numerical value in the range of 1 to 1,000,000,000, such as 848598698.
A 12-character value that includes an area code, number, and hyphens, such as 415-555-1212.
The first line of the address, such as 123 Main St.
The second line of the address, such as Apt. 992.
The name of the city, such as San Francisco.
The name of the state, such as California.
A 10-character value that includes the ZIP+ 4 Code and a hyphen, such as 94104-0231.
A 5-digit ZIP Code, such as 94104.
The name of the country, such as United States.
An 11-character fake Social Security Number consisting of 9 digits and 2 hyphens, such as 306-18-8104.
The company name, such as Schoen, LLC.
Rainforest Built-In Data Types.

Notes on the random.inbox Placeholder

In each test, a each tester is assigned a {{random.inbox}} paired with a {{random.email}}. Though you can use these placeholders individually, we recommend using them together to create an effective test.

Notes on the random.image Placeholder

When using random.image, you can ask testers to save or copy the image to test upload functionality. The image is a hosted file. When the link is opened, it appears in a new tab.


Sample Download Instructions

Action: In a new tab, open {{random.image}}. Right-click the image and select “Save As.” Then, click the Save button in the modal.

Question: Was the image downloaded and saved successfully?

For information on other test data types you can use, see Using Test Data.

If you have any questions, reach out to us at [email protected] or via the chat bubble below.

Related Articles & Links
Did this page help you?