private long getWaitTimeMs ( TestContext context ) { if ( StringUtils . hasText ( seconds ) ) { return Long . valueOf ( context . replaceDynamicContentInString ( seconds ) ) * 1000 ; } else { return Long . valueOf ( context . replaceDynamicContentInString ( milliseconds ) ) ; } }
Gets total wait time in milliseconds . Either uses second time value or default milliseconds .