Creating and Editing Seed Data

Document created by Chris Sommerstad Employee on Jul 21, 2017Last modified by B-F-F08DRX on Sep 25, 2017
Version 2Show Document
  • View in full screen mode

CloudTest includes the ability to create repository-level seed data objects via the Central > Seed Data command in the top-level (blue highlighted) category. For new seed data objects, the Seed Data Wizard appears. This wizard is used to import data from a CSV or to create a seed data object and to enter new seed data manually. Seed data can be deployed using the Custom Properties tab in containers, clips, and tracks.

Seed data is used to dynamically populate certain values in a test, either via a comma-separated value (CSV) file, or by creation of a new seed data object in CloudTest.  Prior releases made limited seed data support available via the combined use of scripts and properties.

Repository-level seed data support is in addition to prior support that was provided by the use of seed data scripts and a handful of settings for defining seed data slices, column counts, and row counts. As in prior releases, seed data can also be referred to via a URL, in which case settings can be maintained with respect to the source data (as a CloudTest repository object).


Existing seed data objects are found in the Seed Data list and open in the Seed Data Editor. Users who refer to seed data by URL will find improved support as well.

  • Seed Data Queues

Seed data is queued so that each reference to the data (via a Custom Property) will access the data from a queue, rather than statically distributing the data to Custom Properties at Composition load time. Queuing decrease the likelihood that the end of seed data will occur and enables CloudTest to detect and act on the end of data.

While distribution of seed data still occurs at the server level, which is determined per track within a composition, that data is no longer statically assigned at load time within each server. For example, when accessing seed data through a message, container, or clip, seed data values are allocated from the server’s queue at the time each item using the seed data comes into existence. 


The new method can potentially result in more efficient use of seed data, since the seed data is not allocated until an item that needs it actually comes into existence. This is particularly true when ramp ups are usedIn prior releases the seed data was statically allocated to all Tracks even though the Tracks at the end of the ramp up that start later might need less data, or perhaps even no data at all if the Composition ends before the Track even starts.



Importing Seed Data from a CSV

In many cases, a comma-separated value (CSV) file may already be in use within an enterprise or may be easily exported to this format. Such a file can be used to send values to the server from different virtual users that CloudTest will run. A seed data file may contain simple name/value pairs, such as a user name/password list, or multi-column responses to a questionnaire, as well as many other types of information.


  1. To get started, select Central > Seed Data and then click New. When you do so, the Seed Data Wizard launches to the Name, Description, and Method step.
  2. With the Seed Data Wizard’s Name, Description, and Method step open, assigns a name to the list. For example, Customer Info.

  1. Check Import a CSV File.
  2. If encryption is necessary, check The data should be encrypted and then enter a key for the encryption. Be sure to note or copy this key, as it will be required in subsequent steps (and each time that the resulting seed data is edited).
  3. Click Browse to navigate to the given file or enter the file’s path.
  4. If the first row contains column headings, check the First row contains the column names box.

Click Next and the import begins. CloudTest will import the data found into its Repository and make it available for use in tests. If a key was entered for encryption, a prompt appears to enter it.

Once the import completes, the Definition and Edit screen appears. Use the plus sign Add icon to add either a row or a column. Right-click to use a context menu to insert and delete columns or rows before or after a selection.

  1. Perform any edits necessary to fix up the seed data by clicking into a given field.
  2. Right click to perform insertions or deletions of rows and columns as necessary, as well as cut, copy, or paste rows.
  3. Click Finish to complete creating the new Seed Data object.

Creating or Editing Seed Data using the Editor

  1. To get started, select Central > Seed Data and then click New. When you do so, the Seed Data Wizard launches to the Name, Description, and Method step.
  2. With the Seed Data Wizard’s Name, Description, and Method step open, assign a name to the list. For example, Customer Account List.

  1. Check Create a Seed Data Object (if it is not already selected).
  2. Click Next. The blank Definition and Edit screen appears.
  3. Click the green Plus (+) icon to add either a column (top right) or row (top left). Alternately, use the right click menu.

  1. Enter a column heading for each column desired by clicking into the topmost cell.
  2. To resize a row, select its right border until the resize icon appears.
  3. Click Finish to create the seed data object. When you do so, the new seed data will appear in the Central >> Seed Data list.


Append or Replace Seed Data

As of SOASTA 56.09, you can append or replace seed data from a CSV, making it easier to perform large tests with multiple data URLs. 


Note: You can drag-and-drop a seed data file over the grid to bring up this dialog with the file input pre-populated.


  1. In the Seed Data Wizard, click Definition and Edit on the left.
  2. Click Upload.
  3. Choose the appropriate options and browse for your seed data file.
  4. Click OK.