mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 21:03:19 +03:00
e558c549d7
* Bump api spec version * Do not panic on cpu monitoring error * Centralize the socket disconnect logic and fire it also when socket errors occur. Hopefully closes #421
24 lines
442 B
YAML
24 lines
442 B
YAML
config:
|
|
target: "ws://localhost:8080/entry"
|
|
processor: "./websocketTest.js"
|
|
|
|
ensure:
|
|
p95: 200
|
|
maxErrorRate: 1
|
|
|
|
phases:
|
|
- duration: 100
|
|
arrivalRate: 15
|
|
ws:
|
|
subprotocols:
|
|
- json
|
|
headers:
|
|
Connection: Upgrade
|
|
Origin: http://localhost:8080
|
|
Sec-WebSocket-Version: 13
|
|
scenarios:
|
|
- engine: "ws"
|
|
flow:
|
|
- function: "createTestMessageObject"
|
|
- send: "{{ data }}"
|
|
- think: 10
|