webrtc / KITE

KITE is a test engine designed to test WebRTC interoperability across browsers
Apache License 2.0
468 stars 126 forks source link

Get call duration miliseconds #93

Closed KiteTesting closed 4 years ago

KiteTesting commented 4 years ago

In config file i set "duration" : 900000 ( 15min) , and this is the check code for getting the call duration miliseconds :

const {TestUtils, TestStep, Status, KiteTestError} = require('kite-common');

/**

module.exports = CallDurationCheck;

But, this i returning : Call duration was undefined . Can you help me resolve this ?

namvuCosmo commented 4 years ago

This step description function is called in the beginning of the step execution for logging purpose, so at this point 'time' has not been declared yet, hence the 'undefined'

KiteTesting commented 4 years ago

issue is solved