Data Files

A data file is a file of a custom format that will be accessed by virtual users (VUs) using custom code you create. Data files are passed to the injector in the same way as other file data sources.

Adding a Data File Source to a Project

To add a data table file source to a project:

  1. Right-click the Data folder in the Project tree and select New data item.
  2. Data Creation

  3. Select Import data file and click Next to add an existing file to the project. 
  4. Navigate to the file you want to import using the Import Data File dialog and click Open. The new data file source will be added to the Project tree under the Data folder.

Editing a Data File Source

To edit an existing data file, right-click the data file in the Project tree and select Edit. The data file opens in the Eggplant Performance text editor so you can preview, and in some cases edit, the data in the data file.

Deleting a Data File Source

To delete an existing data file, right-click the data file in the Project tree and select Delete. Eggplant Performance asks you if you want to remove the corresponding data bindings from the tests. If you click Yes, the data table is removed from the Project tree, and the underlying file is deleted from disk.

Removing a Data File Source from a Project

To remove an existing data file from a project, right-click the data file in the Project tree and select Remove from project. Eggplant Performance asks you if you want to remove the corresponding data bindings from the tests. If you click Yes, the data table is removed from the Project tree, but the underlying file remains on the disk.

 

This topic was last updated on June 21, 2019, at 02:49:50 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2019 Eggplant