Using Test Data

Learn how to add dynamic data to your tests.

Overview

Using test datatest data - Placeholders that allow you to inject other values into your tests. Rainforest supports three types: dynamic, static, and built-in. is a simple way to inject dynamic data into your tests. Each item acts as a placeholder. When a test executes, it uses the value that corresponds to the data you inserted.

Rainforest supports several test data types. Read on for a brief summary of each. Use the links to learn more, including short setup videos and example use cases:

Static Data

Static data allows you to share single values across multiple steps and tests. This is useful for information such as credit card numbers, URLs, and any other value you want to use repeatedly. Rather than keying in the value each time, you create static data and reuse it across your steps and tests. When you need to change the value that corresponds to the static data, you can do so easily; the value updates across all tests containing the placeholder. For more information, see Static Data.

Dynamic Data

Dynamic data allows you to define your own placeholders in a CSV file and upload them to Rainforest. Doing so allows you to assign each tester a unique value that you define. The most common use case is assigning login credentials for each test so your tests can execute in parallel in separate accounts. For more information, see Dynamic Data.

Conditional/Environmental Data

We’ve taken dynamic data a step further by creating environment-specific test data. If you require different login credentials per environment, this type of test data is your best option. For more information, see Conditional/Environmental Data.

Built-In Data

These Rainforest-created placeholders generate random and discrete data, such as first name, email address, inbox, and Social Security number. For more information, see Built-In Data.

SMS Test Data

Use Rainforest’s pool of SMS numbers to test your app’s ability to send text messages. Then, use our SMS inbox placeholders to verify receipt of the SMS—all from within the web browser. No mobile device is needed. For more information, see SMS Test Data.

Note: If you’d like to purchase your own pool of dedicated SMS numbers, check out our Private SMS Numbers offering.

Virtual Credit Cards

Test payments in production using Rainforest’s Virtual Credit Card (VCC). VCCs are credit cards that represent actual credits and generate monetary transactions. Use them any place where major credit cards are accepted. For more information, see Virtual Credit Cards.

Note: VCC is a feature add-on. Contact us to ask about upgrading your account.

How to Use Test Data in Your Test Cases

Visit one of the articles listed above to find out how to add and manage the test data types you need. To learn about adding test data to your test cases, see these articles:


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

Updated 3 months ago



Using Test Data


Learn how to add dynamic data to your tests.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.