nim-websock/autobahn
andri lim 6e73e34975
regenerate ssl certificate and private key for autobahn server (#106)
The new certificate:
Valid From: 2022-03-11 04:12:50 UTC
Valid To: 2032-03-08 04:12:50 UTC

checked with https://www.geocerts.com/certificate-decoder
2022-03-11 14:27:13 -06:00
..
tls regenerate ssl certificate and private key for autobahn server (#106) 2022-03-11 14:27:13 -06:00
Readme.md run autobahn client test in CI 2021-06-12 13:51:54 +07:00
fuzzingclient.json rename nim-ws to nim-websock 2021-06-29 08:50:29 +07:00
fuzzingclient_tls.json rename nim-ws to nim-websock 2021-06-29 08:50:29 +07:00
fuzzingserver.json ci: parallelise autobahn tests 2021-06-20 14:34:49 +07:00
fuzzingserver_tls.json ci: parallelise autobahn tests 2021-06-20 14:34:49 +07:00
index.md rename nim-ws to nim-websock 2021-06-29 08:50:29 +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