test remote api before streaming.