-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Cleanup whitespaces - Push to version V1.004 - Update README.md - Update README.md for fuzzing and mass connection testing - Include limits/performance test cases - Exclude compression test cases - Add massconnect.json
- Loading branch information
Showing
6 changed files
with
308 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
# How to fuzzy test | ||
# Using `Autobahn|Testsuite` for automated websocket server testing | ||
|
||
## How to do a `fuzzing` test | ||
|
||
1. Get docker | ||
2. Download docker image for websocket fuzzing and load testing `docker pull crossbario/autobahn-testsuite` | ||
2. Download docker image for websocket fuzzing and load testing: `docker pull crossbario/autobahn-testsuite` | ||
3. Open cmd/shell/terminal inside of `.../WebSocket_Server/Fuzzying/` | ||
4. Start the server | ||
4. Start the `Fuzzy_Server.pb` server | ||
5. Run `docker run -it --rm -v "${PWD}/config:/config" -v "${PWD}/reports:/reports" --name fuzzing --entrypoint=/bin/bash crossbario/autobahn-testsuite` | ||
6. Enter `/usr/local/bin/wstest --mode fuzzingclient --spec /config/fuzzing-pb.json` | ||
|
||
## How to do a `massconnect` test | ||
|
||
1. Get docker | ||
2. Download docker image for websocket fuzzing and load testing: `docker pull crossbario/autobahn-testsuite` | ||
3. Open cmd/shell/terminal inside of `.../WebSocket_Server/Fuzzying/` | ||
4. Start the `Fuzzy_Server.pb` server | ||
5. Run `docker run -it --rm -v "${PWD}/config:/config" -v "${PWD}/reports:/reports" --name fuzzing --entrypoint=/bin/bash crossbario/autobahn-testsuite` | ||
6. Enter `/usr/local/bin/wstest --mode massconnect --spec /config/massconnect.json` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,6 @@ | |
} | ||
], | ||
"cases": ["*"], | ||
"exclude-cases": ["9.*"], | ||
"exclude-cases": ["12.*", "13.*"], | ||
"exclude-agent-cases": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"servers": [ | ||
{ | ||
"name": "PureBasic WebSocket server", | ||
"uri": "ws://host.docker.internal:8090" | ||
} | ||
], | ||
"options": { | ||
"connections": 10000, | ||
"batchsize": 100, | ||
"batchdelay": 10, | ||
"retrydelay": 10 | ||
} | ||
} |
Oops, something went wrong.