When should you download and run a Test Data Query?
A Test Data Query should be downloaded and run when you want to generate synthetic test data and blend it with real data queried from a database or CSV file.
In the Self-Service Portal, you also have the ability to add a Test Data Query to a Test Data Case. When a Test Data Query has been added to a Test Data Case, these steps do not need to be performed because it will be run automatically when the Test Data Case is run in GenRocket Runtime. Please refer to How to download and run Test Data Cases for more information.
How do I generate test data with a Test Data Query?
- Select the Project and/or Project Version
- Download a Scenario, Scenario Chain, or Scenario Chain Set
- Select G-Queries from the Manage Menu.
- Download the Test Data Query
- Open a Command or Terminal Window
- Enter the Command Line for the Test Data Query
Note: The assigned Receiver will determine where the blended data is saved during this process. For example, if the DelimitedFileV2Receiver has been assigned, then a delimited file will be created with the blended data records.
Step 1: Download a Test Data Query
Once the Test Data Query has been configured, you will need to download the Test Data Query to your local machine.
Step 2: Download a Scenario, Scenario Chain, or Scenario Chain Set
A Scenario, Scenario Chain, or Scenario Chain Set can be downloaded directly from the Project Dashboard by clicking on the Download (Cloud). The image below shows this for a Scenario in the Scenarios Pane.
Note: To learn more about downloading Scenarios, please see: How to Download a Scenario.
Step 3: Run the Test Data Query in a Command or Terminal Window
This real data will be combined with the following synthetically generated test data in a delimited file (shown below):