Testing

Just as testing marks the beginning of SDLC, testing is the milestone for project competition. By now, we should have an efficient WebRTC web project capable of video/audio calls, messaging, Geolocation, and so on. It is time to test the functionality and search for bugs that might have crept in to the code.

Testing the signal flow

Wireshark is a good tool to monitor all of the traffic flow between connected machines. We can test the packets sent and received, and generate flow diagrams to visualize the call flow between parties, end points, as well as the server. The following screenshot shows the Wireshark tool analyzing signal traces:

Testing the signal flow

Get WebRTC Integrator's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.