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:
- Run the G-Query with a Scenario, Scenario Chain, or Scenario Chain Set.
- Add the G-Query to a Test Data Case. For more information, click here.
Prerequisites
- The user has installed and set up GenRocket Runtime.
- The user has created a config.properties file. (Database Queries Only)
- The user has created or can access an existing Project/Project Version.
- 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.