parent
a60dbd5dc9
commit
3634754621
|
@ -239,6 +239,19 @@ jobs:
|
|||
wstest --mode fuzzingclient --spec fuzzingclient_tls.json
|
||||
kill $pid
|
||||
|
||||
wstest --mode fuzzingserver --spec fuzzingserver.json &
|
||||
pid=$!
|
||||
cd ..
|
||||
nim c -r examples/autobahn_client
|
||||
kill $pid
|
||||
|
||||
cd autobahn
|
||||
wstest --mode fuzzingserver --spec fuzzingserver_tls.json &
|
||||
pid=$!
|
||||
cd ..
|
||||
nim c -r -d:tls examples/autobahn_client
|
||||
kill $pid
|
||||
|
||||
- name: Deploy autobahn report.
|
||||
if: runner.os == 'linux' && matrix.target.cpu == 'amd64' && github.event_name == 'push'
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
|
|
|
@ -17,6 +17,14 @@ pip install autobahntestsuite
|
|||
* autobahn: `wstest --mode fuzzingclient --spec fuzzingclient.json`
|
||||
* Reports will be generated in `reports/server` which can be configured in `fuzzingclient.json`
|
||||
|
||||
* wss server: `nim c -r examples/tlsserver.nim`
|
||||
* wss server: `nim c -r -d:tls examples/server.nim`
|
||||
* autobahn: `wstest --mode fuzzingclient --spec fuzzingclient_tls.json`
|
||||
* Reports will be generated in `reports/server_tls` which can be configured in `fuzzingclient_tls.json`
|
||||
|
||||
* ws client:
|
||||
* autobahn: `wstest --mode fuzzingserver --spec fuzzingserver.json`
|
||||
* ws: `nim c -r examples/autobahn_client.nim`
|
||||
|
||||
* wss client:
|
||||
* autobahn: `wstest --mode fuzzingserver --spec fuzzingserver_tls.json`
|
||||
* ws: `nim c -r -d:tls examples/autobahn_client.nim`
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "ws://127.0.0.1:9001",
|
||||
|
||||
"options": {"failByDrop": false},
|
||||
"outdir": "./reports/client",
|
||||
"webport": 8080,
|
||||
|
||||
"cases": ["*"],
|
||||
"exclude-cases": ["12.*", "13.*"],
|
||||
"exclude-agent-cases": {}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"url": "wss://127.0.0.1:9001",
|
||||
"key": "tls/server.key",
|
||||
"cert": "tls/server.crt",
|
||||
|
||||
"options": {"failByDrop": false},
|
||||
"outdir": "./reports/client_tls",
|
||||
"webport": 8080,
|
||||
|
||||
"cases": ["*"],
|
||||
"exclude-cases": ["12.*", "13.*"],
|
||||
"exclude-agent-cases": {}
|
||||
}
|
|
@ -4,3 +4,5 @@ Generated by commit [COMMIT_SHA_SHORT](https://github.com/status-im/nim-ws/commi
|
|||
|
||||
* [ws server summary report](server/index.html)
|
||||
* [wss server summary report](server_tls/index.html)
|
||||
* [ws client summary report](client/index.html)
|
||||
* [wss client summary report](client_tls/index.html)
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIDLjCCAhYCCQDc2jxNii8rqzANBgkqhkiG9w0BAQUFADBZMQswCQYDVQQGEwJE
|
||||
RTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0
|
||||
cyBQdHkgTHRkMRIwEAYDVQQDDAlsb2NhbGhvc3QwHhcNMTExMDIyMTUwNzA4WhcN
|
||||
MjExMDE5MTUwNzA4WjBZMQswCQYDVQQGEwJERTETMBEGA1UECAwKU29tZS1TdGF0
|
||||
ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMRIwEAYDVQQDDAls
|
||||
b2NhbGhvc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDPPPasXjJA
|
||||
JaehBxcJEJyprGHHriPyouwA5zSIL/B04Dxm3QTa4glUvBpx5q+uc7K5p3MBNmcU
|
||||
EuclGD6EwNq8sgj2hdSvBDjhkZbMhoJ6prLOCU0LY3FfSPFXIRBGD+/W6SLBwITr
|
||||
lKOjl3S00ALKIZQGI2NShY5jIV/CJ5vTggHVWIX7wfMTi8H+r4O1MY7VzTwNnoeR
|
||||
5O8SuNsYx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