Skip to content

Commit 2d6ee4c

Browse files
authoredJan 2, 2022
Update autobahn example
- Update instructions to use docker. - Cleanup config file.
1 parent beca1d3 commit 2d6ee4c

File tree

3 files changed

+36
-17
lines changed

3 files changed

+36
-17
lines changed
 

‎examples/autobahn/README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ To test the server, run
88

99
and start the client test driver
1010

11-
wstest -m fuzzingclient -s fuzzingclient.json
11+
mkdir -p reports
12+
docker run -it --rm \
13+
-v ${PWD}/config:/config \
14+
-v ${PWD}/reports:/reports \
15+
crossbario/autobahn-testsuite \
16+
wstest -m fuzzingclient -s /config/fuzzingclient.json
1217

13-
When the client completes, it writes a report to reports/clients/index.html.
18+
When the client completes, it writes a report to reports/index.html.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"cases": ["*"],
3+
"exclude-cases": [],
4+
"exclude-agent-cases": {},
5+
"outdir": "/reports",
6+
"options": {"failByDrop": false},
7+
"servers": [
8+
{
9+
"agent": "ReadAllWriteMessage",
10+
"url": "ws://host.docker.internal:9000/m"
11+
},
12+
{
13+
"agent": "ReadAllWritePreparedMessage",
14+
"url": "ws://host.docker.internal:9000/p"
15+
},
16+
{
17+
"agent": "CopyFull",
18+
"url": "ws://host.docker.internal:9000/f"
19+
},
20+
{
21+
"agent": "ReadAllWrite",
22+
"url": "ws://host.docker.internal:9000/r"
23+
},
24+
{
25+
"agent": "CopyWriterOnly",
26+
"url": "ws://host.docker.internal:9000/c"
27+
}
28+
]
29+
}

‎examples/autobahn/fuzzingclient.json

-15
This file was deleted.

0 commit comments

Comments
 (0)