The function "GetLoadTest()" retrieves the number of the loadtest generated for the current simulation . All results in the repository of the current loadtest are associated with this loadtest ID number. This function will return zero if a loadtest has yet to be run, even after the completion of a Try-Script test and a Baseline test zero will still be returned - no number will have been assigned to "nLoadTest" as a Loadtest has yet to be run. For example: If a loadtest was ran for the first time then the output will be: load test = 1 Please note That you will need to have an activated result repository in order to retrieve the loadtest number.
↧