No WebRTC Data collected for this session is an error we report on probes that we can’t find any WebRTC metric son them.
It will happen when you are trying to connect a session but failing before the creation of a peer connection.
It might also happen if you finished the session, closed it AND Chrome has already went ahead and garbage collected that information (see here).
What can you do to resolve this?
- Make sure the session is still open and active when the scenario ends
- Add #getstats to the run options of your test script
- Use client.rtcCaptureCallData() calling it EXACTLY once, at the point in time where you want the last piece of metric collected and when the session is still alive