mirror of
https://github.com/logos-storage/nim-websock.git
synced 2026-01-03 14:13:11 +00:00
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
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/serverwhich can be configured infuzzingclient.json
- autobahn:
-
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_tlswhich can be configured infuzzingclient_tls.json
- autobahn:
-
ws client:
- autobahn:
wstest --mode fuzzingserver --spec fuzzingserver.json - ws:
nim c -r examples/autobahn_client.nim
- autobahn:
-
wss client:
- autobahn:
wstest --mode fuzzingserver --spec fuzzingserver_tls.json - ws:
nim c -r -d:tls examples/autobahn_client.nim
- autobahn: