test r streaming api