mirror of
https://github.com/actix/examples
synced 2025-01-23 06:14:35 +01:00
89d2e4e3f7
* chore: fix typo for `run-in-thread` * chore: update some deps for examples
websocket
Websocket server for autobahn suite testing.
Usage
server
cd examples/websocket-autobahn
cargo run --bin websocket-autobahn-server
Running Autobahn Test Suite
Running the autobahn test suite is easiest using the docker image as explained on the autobahn-testsuite repo.
First, start a server (see above). Then, run the test suite in fuzzingclient mode:
docker run -it --rm \
-v "${PWD}/config:/config" \
-v "${PWD}/reports:/reports" \
--network host \
--name autobahn \
crossbario/autobahn-testsuite \
wstest \
--spec /config/fuzzingclient.json \
--mode fuzzingclient
Results are written to the reports/servers
directory for viewing.