forked from mirror/websocket
Update autobahn example
- Update instructions to use docker. - Cleanup config file.
This commit is contained in:
parent
beca1d3940
commit
2d6ee4c55c
|
@ -8,6 +8,11 @@ To test the server, run
|
|||
|
||||
and start the client test driver
|
||||
|
||||
wstest -m fuzzingclient -s fuzzingclient.json
|
||||
mkdir -p reports
|
||||
docker run -it --rm \
|
||||
-v ${PWD}/config:/config \
|
||||
-v ${PWD}/reports:/reports \
|
||||
crossbario/autobahn-testsuite \
|
||||
wstest -m fuzzingclient -s /config/fuzzingclient.json
|
||||
|
||||
When the client completes, it writes a report to reports/clients/index.html.
|
||||
When the client completes, it writes a report to reports/index.html.
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"cases": ["*"],
|
||||
"exclude-cases": [],
|
||||
"exclude-agent-cases": {},
|
||||
"outdir": "/reports",
|
||||
"options": {"failByDrop": false},
|
||||
"servers": [
|
||||
{
|
||||
"agent": "ReadAllWriteMessage",
|
||||
"url": "ws://host.docker.internal:9000/m"
|
||||
},
|
||||
{
|
||||
"agent": "ReadAllWritePreparedMessage",
|
||||
"url": "ws://host.docker.internal:9000/p"
|
||||
},
|
||||
{
|
||||
"agent": "CopyFull",
|
||||
"url": "ws://host.docker.internal:9000/f"
|
||||
},
|
||||
{
|
||||
"agent": "ReadAllWrite",
|
||||
"url": "ws://host.docker.internal:9000/r"
|
||||
},
|
||||
{
|
||||
"agent": "CopyWriterOnly",
|
||||
"url": "ws://host.docker.internal:9000/c"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
|
||||
{
|
||||
"options": {"failByDrop": false},
|
||||
"outdir": "./reports/clients",
|
||||
"servers": [
|
||||
{"agent": "ReadAllWriteMessage", "url": "ws://localhost:9000/m", "options": {"version": 18}},
|
||||
{"agent": "ReadAllWritePreparedMessage", "url": "ws://localhost:9000/p", "options": {"version": 18}},
|
||||
{"agent": "ReadAllWrite", "url": "ws://localhost:9000/r", "options": {"version": 18}},
|
||||
{"agent": "CopyFull", "url": "ws://localhost:9000/f", "options": {"version": 18}},
|
||||
{"agent": "CopyWriterOnly", "url": "ws://localhost:9000/c", "options": {"version": 18}}
|
||||
],
|
||||
"cases": ["*"],
|
||||
"exclude-cases": [],
|
||||
"exclude-agent-cases": {}
|
||||
}
|
Loading…
Reference in New Issue