nim-websock/autobahn
jangko 3634754621
run autobahn client test in CI
fixes #27
2021-06-12 13:51:54 +07:00
..
tls run autobahn client test in CI 2021-06-12 13:51:54 +07:00
Readme.md run autobahn client test in CI 2021-06-12 13:51:54 +07:00
fuzzingclient.json Fix partial frame handling and allow extensions to hijack the flow (#56) 2021-06-11 14:04:09 -06:00
fuzzingclient_tls.json autobahn: add test for tlsserver (#42) 2021-05-28 10:48:23 -06:00
fuzzingserver.json run autobahn client test in CI 2021-06-12 13:51:54 +07:00
fuzzingserver_tls.json run autobahn client test in CI 2021-06-12 13:51:54 +07:00
index.md run autobahn client test in CI 2021-06-12 13:51:54 +07:00

Readme.md

Running autobahn test suite.

Install autobahn

# Set up virtualenv in autobahn folder
virtualenv --python=/usr/bin/python2 autobahn

# Activate the virtualenv
source autobahn/bin/activate

# Install autobahn
pip install autobahntestsuite

Run the test Websocket client.

  • ws server: nim c -r examples/server.nim

    • autobahn: wstest --mode fuzzingclient --spec fuzzingclient.json
    • Reports will be generated in reports/server which can be configured in fuzzingclient.json
  • wss server: nim c -r -d:tls examples/server.nim

    • autobahn: wstest --mode fuzzingclient --spec fuzzingclient_tls.json
    • Reports will be generated in reports/server_tls which can be configured in fuzzingclient_tls.json
  • ws client:

    • autobahn: wstest --mode fuzzingserver --spec fuzzingserver.json
    • ws: nim c -r examples/autobahn_client.nim
  • wss client:

    • autobahn: wstest --mode fuzzingserver --spec fuzzingserver_tls.json
    • ws: nim c -r -d:tls examples/autobahn_client.nim