Timer#
This test can be used to stop the execution time of one or more other tests.
Description#
This test can be used to stop the execution time of one or more other tests. Therefor the test has two actions: Set timer and Take time. Set timer sets a time variable to the current time. The Take time action calculates the difference between the time variable and the current time and returns it in seconds.
Input parameters#
| Parameter | Description |
|---|---|
| Action | The action the tests performs |
Output parameters#
| Parameter | Description |
|---|---|
| Time [s] | The stopped execution time |
Example#
Goal:\ Stop the execution time of a test.
flowchart LR
D[Set timer] --> B
B[Any test]--> C
C[Take time]
Measmatic setup: or \ 1. Add a new Timer test to the test sequence by dragging and dropping a Timer from the test picker into the test sequence. Set the Action to Set timer.\ 2. Add any test after the Timer test. For example a Data generator test.\ 3. Add another Timer test after the test you have just added. Set the Action to Take time.
Execute the test sequence by pressing the Run all tests button. In the results tab of the second Timer test you will see the execution time (column: Time).