Executions
An execution represent the result of a specific run of a Plan, containing all the information (status, output values, performance measurements…) about the keywords and controls of this run.
Executing a Plan
You can run a plan, and create a new corresponding execution by click on the “play” button, available in the Plan list, Keywords list and the Plan editor:
This will display the following generic popup, specifying the execution parameters (in green) and the execution mode
The following execution mode are possible:
- The Simulate execution mode (in yellow in the screenshot). When choosing this mode, only the Plan logic will be validated and the keywords will not be executed
- The Execution mode (in red), running the Plan and the keywords
- The Schedule mode (in blue), allowing to schedule repetitive executions of the plan (see below for more detail)
The execution parameters can be defined in the Admin tab, under the Settings:
Executions list
Under the Executions tab, you can view the whole list of your test plans executions.
You can filter the executions table using any of the header fields available :
- Description : usually the test plan name you executed
- Start time : the beginning of the execution
- End time : the end of the execution
- User : the user who executed the test plan
- Environment : the target environment
- Status : the current execution status: INITIALIZING, IMPORTING, RUNNING, ABORTING, EXPORTING, ENDED
- Result : the execution end result: TECHNICAL_ERROR, FAILED, PASSED, INTERRUPTED, SKIPPED, NORUN, RUNNING
Scheduling
Step offers you the possibility to schedule executions of Test Plans based on JAVA CRON expressions. From the executions view ,click on the “Schedule” button on the top right :
Enter the CRON expression which will define when the plan will be executed then press the “OK” button:
You can then switch to the “Scheduler” tab in order to view, edit, control the scheduling entries you set up as well as jump to the performance interactive analysis view related to this specific task:
Here are some basics examples of CRON expressions. If you are not familiar with, we encourage you to take a look at the CRON official documentation.
Expression | Means |
---|---|
0 0 12 * * ? | Fire at 12:00 PM (noon) every day |
0 15 10 * * ? | Fire at 10:15 AM every day |
0 * 14 * * ? | Fire every minute starting at 2:00 PM and ending at 2:59 PM, every day |
0 0/5 14 * * ? | Fire every 5 minutes starting at 2:00 PM and ending at 2:55 PM, every day |