Add hls load test

This commit is contained in:
Gabe Kangas
2021-01-19 23:58:06 -08:00
parent 7b5e9a3c56
commit 54ba725af3
6 changed files with 172 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
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