Description

A Test Data Query (G-Query) can be used to modify a Scenario, Scenario Chain, or Scenario Chain Set when generating test data. This can be done in one of two ways within the GenRocket web platform: 

  1. Run the G-Query with a Scenario, Scenario Chain, or Scenario Chain Set. 
  2. Add the G-Query to a Test Data Case. For more information, click here


Prerequisites

  1. The user has installed and set up GenRocket Runtime.

  2. The user has created a config.properties file. (Database Queries Only)  
  3. The user has created or can access an existing Project/Project Version. 
  4. The user has created or can access an existing G-Query Suite. 


How to use a G-Query with a Scenario

  • Log into the GenRocket web platform.
  • Select the Project and Project Version.
  • Download the Scenario, Scenario Chain, or Scenario Chain Set. 



  • Access the G-Queries Dashboard. 
  • Select the G-Query Suite (if more than one exists).


  • Click the Download (Cloud) icon to download the G-Query Suite to your local machine.
     


  • Copy the Command at the bottom of the screen. 



  • Open a Command Prompt or Terminal window on the local machine. 
  • Paste the command and replace <ScenarioName.grs> with the actual Scenario name. 
  • Press the Enter key to run the command at the command line.