Downloading test data

When you want to test any application by using the generated test data or to reuse the data of any specific schema definition for some other project, you can download the generated test data into your local file system.

Before you begin

You must have completed the following tasks:

  • Created a project.
  • Generated test data.

Procedure

  1. Select your project in HCL OneTest Server and go to the Data Fabrication page.
  2. Click Jobs.
    You can view the list of all test data generated jobs in the Jobs page.
    Note: If you want to view only the jobs related to referential integrity, then select Schema integrity jobs from the menu.
  3. Select a job for which you want to download the generated test data.
    Notes:
    • You can select multiple jobs at a time to download the test data.
    • You can download the test data only for the jobs that are completed successfully.
    • The download option is disabled for the jobs that are set to insert the generated test data into the database.
  4. Click the Download job(s) button or icon.

Results

The generated test data is downloaded in the zip format in your local file system. When you download multiple jobs, then the zip format of the jobs are organized by time.
Note: You can also download the generated test data file from the following location of the HCL® OneTest Data pod:

/opt/hcl/hip-rest/output/<accountId>/<userID>/<projectId>/<schemaId>/<genMapPath>.