mirror of
https://github.com/owncast/owncast.git
synced 2024-11-23 05:14:20 +03:00
25 lines
440 B
YAML
25 lines
440 B
YAML
|
config:
|
||
|
target: "ws://localhost:8080/entry"
|
||
|
processor: "./websocketTest.js"
|
||
|
|
||
|
ensure:
|
||
|
p95: 200
|
||
|
maxErrorRate: 1
|
||
|
|
||
|
phases:
|
||
|
- duration: 30
|
||
|
arrivalRate: 10
|
||
|
ws:
|
||
|
subprotocols:
|
||
|
- json
|
||
|
headers:
|
||
|
Connection: Upgrade
|
||
|
Origin: http://localhost:8080
|
||
|
Sec-WebSocket-Version: 13
|
||
|
scenarios:
|
||
|
- engine: "ws"
|
||
|
flow:
|
||
|
- function: "createTestMessageObject"
|
||
|
- send: "{{ data }}"
|
||
|
- think: 5
|