storeElapsedTime (Log Application Performance)
Compatible with:
- Purpose
- This command will calculate the test run elapsed time within the Test Run without using the JavaScript function.
Formula: Current Command Time - Execution Start Time
Below are the representations of the Time Unit:
M - Minutes
S - Seconds
MS - MilliSeconds (Default)
H - Hours - Syntax
- storeElapsedTime (VariableName || M/MS/H/S)
- Target
- VariableName || M/MS/H/S
- Value
- N/A
- Return Value
- N/A
- Errors & Exceptions
-
Condition Error/Exception Message Empty Target For command 'storeElapsedTime', the 'Target' field cannot be empty Invalid Time Unit The Time Unit provided in the Target field is invalid