For testing my client I have this config (fuzzingserver.json):
{
"url": "ws://127.0.0.1:9001",
"protocols": ["MyJson"],
"options": {"failByDrop": false},
"outdir": "./reports/clients",
"cases": ["*"],
"exclude-cases": [""],
"exclude-agent-cases": {}
}
Run server with command:
docker run -it --rm -v "${PWD}/config:/config" -v "${PWD}/reports:/reports" -p 9001:9001 --name fuzzingserver crossbario/autobahn-testsuite
For testing my server I have this config (fuzzingclient.json):
{
"options": {"failByDrop": false},
"outdir": "./reports/servers",
"protocols": ["MyJson"],
"servers": [
{"agent": "test_server",
"url": "ws://127.0.0.1:9001"}
],
"cases": [""],
"exclude-cases": [""],
"exclude-agent-cases": {}
}
Run client with command:
docker run -it --rm -v "${PWD}/config:/config" -v "${PWD}/reports:/reports" crossbario/autobahn-testsuite wstest -m fuzzingclient -s /config/fuzzingclient.json
I do not see Sec-Websocket-Protocol:"MyJson" in the test client request or server response. Could you tell me what I do wrong?
For testing my client I have this config (fuzzingserver.json):
{
"url": "ws://127.0.0.1:9001",
"protocols": ["MyJson"],
"options": {"failByDrop": false},
"outdir": "./reports/clients",
"cases": ["*"],
"exclude-cases": [""],
"exclude-agent-cases": {}
}
Run server with command:
docker run -it --rm -v "${PWD}/config:/config" -v "${PWD}/reports:/reports" -p 9001:9001 --name fuzzingserver crossbario/autobahn-testsuite
For testing my server I have this config (fuzzingclient.json):
{
"options": {"failByDrop": false},
"outdir": "./reports/servers",
"protocols": ["MyJson"],
"servers": [
{"agent": "test_server",
"url": "ws://127.0.0.1:9001"}
],
"cases": [""],
"exclude-cases": [""],
"exclude-agent-cases": {}
}
Run client with command:
docker run -it --rm -v "${PWD}/config:/config" -v "${PWD}/reports:/reports" crossbario/autobahn-testsuite wstest -m fuzzingclient -s /config/fuzzingclient.json
I do not see Sec-Websocket-Protocol:"MyJson" in the test client request or server response. Could you tell me what I do wrong?