Skip to content

How to force autobahn test server and clinet send Sec-Websocket-Protocol: ? #136

Description

@dmykhailishen

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions