1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
examples/websockets/autobahn
2022-12-30 16:25:40 +00:00
..
config update all websocket examples to v4 2022-02-18 01:44:53 +00:00
reports Restructure folders (#411) 2021-02-26 00:57:58 +00:00
src fmt 2022-02-18 02:44:02 +00:00
Cargo.toml use workspace deps for log and env_logger 2022-12-30 16:25:40 +00:00
README.md fix static-files readme name 2022-02-18 03:36:04 +00:00

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.