Autobahn WebSockets protocol compliance test suite

| 2 Comments
I'm nearing the end of my WebSockets implementation for The Server Framework and have been dealing with various protocol compliance issues. Whilst I have decent unit test coverage I haven't, yet, sat down and produced compliance specific unit tests which walk through the various parts of the (ever changing) draft RFC and test each aspect. Looking back, I probably should have taken this approach even though the RFC was fluid. Anyway. One of the people involved in the WebSockets Working Group has a nice set of compliance tests for their implementation and they have made these tests are freely available; so I've been using them! They've really helped nail a few subtle issues in my implementation (and one or two not so subtle issues!).

The Autobahn tests can be found here, and the report generated by the current pre-release version of my implementation can be found here.

2 Comments

Hi Len,

I'm currently testing my implementation of websocket server. Can you share the compilance tests with me?

The test suite can be downloaded from the download link (took me a while to find it!) on the page that I link to in the body of the blog post...

It's http://autobahn.ws/testsuite/downloads ;)

Leave a comment

About this Entry

I guess this is a geek thing... was the previous entry in this blog.

The WebSocket protocol - Draft, HyBi 13 is the next entry in this blog.

I usually write about C++ development on Windows platforms, but I often ramble on about other less technical stuff...

Find recent content on the main index or look in the archives to find all content.

I have other blogs...

Subscribe to feed The Server Framework - high performance server development
Subscribe to feed Lock Explorer - deadlock detection and multi-threaded performance tools
Subscribe to feed l'Hexapod - embedded electronics and robotics
Subscribe to feed MegèveSki - skiing