owncast/test/load
2021-03-03 21:48:11 -08:00
..
hls.yaml Add hls load test 2021-01-19 23:58:14 -08:00
httpGetTest.yaml Add hls load test 2021-01-19 23:58:14 -08:00
package-lock.json Add hls load test 2021-01-19 23:58:14 -08:00
README.md Add hls load test 2021-01-19 23:58:14 -08:00
websocketTest.js Fix websocket load test not sending required event type 2021-02-26 22:14:08 -08:00
websocketTest.yaml Optimize/fix concurrency for chat 2021-03-03 21:48:11 -08:00

Tests

Load Tests

  1. Install artillery from NPM/Yarn/Whatever Javascript package manager is popular this week.
  2. Install artillery-plugin-hls
  3. Start an instance of the server on localhost.
  4. artillery run httpGetTest.yaml for endpoint load tests.
  5. artillery run websocketTest.yaml for websocket load tests.