You can see a list of all your Scenarios when you log into QuerySurge, and you can schedule a new Scenario when you log in as well:
IN THIS SECTION
- Scheduling Scenarios
- Scheduling Scenarios via the Command Line
- Opening a Scenario
- Filtering Scenarios
- Scenario Queue Paging Toolbar
Scheduling Scenarios
To schedule and run one or more Test Suites together, you can create a Scenario.
- You can create a Scenario:
- in the Scenario Queue in the Design Library
- in the QuerySurge Scheduling view
- in the Run Dashboard
Schedule Scenario button. This will open the Schedule Scenario window.
- Type a name for your Scenario.
- Specify Scenario settings and Add Test Suites.
- Click the Save button.
SCENARIO SETTINGS
- All Dates to - the date and time the Scenario will begin running.
- All Agents as - the agent that each Test Suite should be assigned to.
ADDING TEST SUITES
- Click on the
button each time you want to add a Test Suite.
- Use the drop-down that appears to select from the list of existing Test Suites to your Scenario.
INDIVIDUAL TEST SUITE SETTINGS
- Agent - the agent that each Test Suite should be assigned to.
- Scheduled Date & Time of Run - the date and time the Test Suite will begin running.
REMOVING TEST SUITES
- Select a Test Suite to remove.
- Click on the
button to remove the selected Test Suite(s).
NOTE For every Test Suite that you add to your Scenario, you may assign that Suite to "Any Agent" to run "Now" (the defaults) or you may choose a specific Agent and a specific time for that agent to execute the Test Suite. This is where you can perform any elaborate scheduling for your test executions. To see your execution run once the scheduled time arrives, go to the Run Dashboard (when you schedule a Scenario, you are not automatically flipped over to the Run Dashboard).
NOTE Agents that you are using must be running in order for your execution to proceed.
Scheduling Scenarios via the Command Line
Scenarios may also be scheduled "on the fly" via QuerySurge's command line execution interface. This means that an external process or script can trigger a QuerySurge execution based on an external event. A use case for this would be one in which, at the end of an ETL process (or at the end of an ETL leg), a script is run to trigger a QuerySurge execution of tests designed to verify the ETL. For details, see Using the Command Line.
Opening a Scenario
Clicking on a Scenario loads the Scenario data into the other Dashboard panels. If the Run is complete, the final Scenario data is loaded. If the Run is executing, then the real-time status and data is loaded.
Filtering Scenarios
To quickly navigate to a Scenario, you can filter the Scenario Queue to only display Scenarios of a specific status.
Scenario Queue Paging Toolbar
As the list of Scenario executions grows over time, you can use the Paging Toolbar to easily navigate to previously executed Scenarios.
Comments
1 comment
How to delete Scenarios when your Scenario queue is loaded ?
Please sign in to leave a comment.