Gabe Kangas f28dd344bd Add additional test for testing failure after delete 1 year ago
..
automated f28dd344bd Add additional test for testing failure after delete 1 year ago
load 363bc78ac6 Bump http-cache-semantics from 4.1.0 to 4.1.1 in /test/load (#2664) 1 year ago
.gitignore fca3b02851 Point fakechat test script to localhost by default. Commit package.json 3 years ago
README.md 63bb647990 Created a fake chat message generator script for testing 4 years ago
fakeChat.js b6f68628c0 Chat refactor + persistent backing chat users (#1163) 3 years ago
ocTestStream.sh dd72879d09 Fix HLS automatic test (#2572) 1 year ago
package-lock.json 59f9299b6a Bump node-fetch from 2.6.6 to 2.6.7 in /test (#1700) 2 years ago
package.json 59f9299b6a Bump node-fetch from 2.6.6 to 2.6.7 in /test (#1700) 2 years ago
populateContent.sh f1a2a918c8 Change host in fixture script 2 years ago
userColorsTest.js f4815e331c Update chat styling 4 years ago

README.md

Tests

Load Tests

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

Chat test

This will send automated fake chat messages to your localhost instance. Edit the messages, usernames or point to a different instance.

  1. npm install
  2. node fakeChat.js