getStatistics()

Retrieve the test session statistics.

Syntax

getStatistics()
  RETURNS Statistics

Returns the test session statistics

Usage

You can use it when the session ends to collect test statistics generated. You must declare a variable of type ggc.Statistics for the return. For example:

DEFINE stats ggc.Statistics

CALL ggc.getStatistics() RETURNING stats.*
CALL ggc.showStatistics(stats.*)