2014-04-21 08:14:06 +04:00
|
|
|
# Test Server
|
2013-10-16 20:41:47 +04:00
|
|
|
|
2018-12-06 10:02:39 +03:00
|
|
|
This package contains a server for the [Autobahn WebSockets Test Suite](https://github.com/crossbario/autobahn-testsuite).
|
2013-10-16 20:41:47 +04:00
|
|
|
|
2014-04-21 08:14:06 +04:00
|
|
|
To test the server, run
|
2013-10-16 20:41:47 +04:00
|
|
|
|
|
|
|
go run server.go
|
|
|
|
|
|
|
|
and start the client test driver
|
|
|
|
|
2022-01-02 22:21:21 +03:00
|
|
|
mkdir -p reports
|
|
|
|
docker run -it --rm \
|
|
|
|
-v ${PWD}/config:/config \
|
|
|
|
-v ${PWD}/reports:/reports \
|
|
|
|
crossbario/autobahn-testsuite \
|
|
|
|
wstest -m fuzzingclient -s /config/fuzzingclient.json
|
2013-10-16 20:41:47 +04:00
|
|
|
|
2022-01-02 22:21:21 +03:00
|
|
|
When the client completes, it writes a report to reports/index.html.
|