mirror of
https://github.com/codex-storage/nim-websock.git
synced 2025-01-23 08:59:28 +00:00
25 lines
540 B
Markdown
25 lines
540 B
Markdown
## Running autobahn test suite.
|
|
|
|
### Start the websocket server
|
|
|
|
```bash
|
|
nim c -r examples/server.nim
|
|
```
|
|
### Install autobahn
|
|
```bash
|
|
# 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.
|
|
```bash
|
|
wstest --mode fuzzingclient --spec fuzzingclient.json
|
|
```
|
|
|
|
Reports will be generated in `reports/server` which can be configured in `fuzzingclient.json` |