websocket/examples/autobahn
Joachim Bauch 018944708b Removed unnecessary call to "http.Error". 2014-04-18 00:14:23 +02:00
..
README.md Initial commit 2013-10-16 16:30:59 -07:00
fuzzingclient.json Initial commit 2013-10-16 16:30:59 -07:00
server.go Removed unnecessary call to "http.Error". 2014-04-18 00:14:23 +02:00

README.md

Test

Clients and servers for the Autobahn WebSockets Test Suite.

To test different code paths in the package, the test server echoes messages two ways:

  • Read the entire message using io.ReadAll and write the message in one chunk.
  • Copy the message in parts using io.Copy

To test the server, run it

go run server.go

and start the client test driver

wstest -m fuzzingclient -s fuzzingclient.json

When the client completes, it writes a report to reports/servers/index.html.