mirror of
https://github.com/actix/examples
synced 2024-11-24 23:02:59 +01:00
.. | ||
config | ||
reports | ||
src | ||
Cargo.toml | ||
README.md |
WebSocket Autobahn Test Server
WebSocket server for the Autobahn WebSocket protocol testsuite.
Usage
Server
cd websockets/autobahn
cargo run
Running Autobahn Test Suite
Running the autobahn test suite is easiest using the docker image as explained on the autobahn test suite repo.
After starting the server, in the same directory, run the test suite in "fuzzing client" 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.