1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00
examples/websockets/autobahn
2022-02-02 01:45:20 +00:00
..
config Restructure folders (#411) 2021-02-26 00:57:58 +00:00
reports Restructure folders (#411) 2021-02-26 00:57:58 +00:00
src Restructure folders (#411) 2021-02-26 00:57:58 +00:00
Cargo.toml all versions are 1.0 2022-02-02 01:45:20 +00:00
README.md [EZ] Update READMEs with current paths (#432) 2021-06-07 02:50:30 +09:00

websocket

Websocket server for autobahn suite testing.

Usage

server

cd websockets/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.