This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Public Method Assess API

getTime()

Returns the current time of the test, in seconds.

When using sections configured with different time, the returned value is the total elapsed time of all sections.

Arguments

  • options object
    • currentSection boolean
      Passing true to get the elapsed time of the current active section.

Return value

integer

Was this article helpful?