Gabe Kangas ef5dddc0ac Disable lighthouse test to see if that fixes running under Github CI 1 年之前
..
automated ef5dddc0ac Disable lighthouse test to see if that fixes running under Github CI 1 年之前
load 363bc78ac6 Bump http-cache-semantics from 4.1.0 to 4.1.1 in /test/load (#2664) 1 年之前
.gitignore fca3b02851 Point fakechat test script to localhost by default. Commit package.json 3 年之前
README.md 63bb647990 Created a fake chat message generator script for testing 4 年之前
fakeChat.js b6f68628c0 Chat refactor + persistent backing chat users (#1163) 3 年之前
ocTestStream.sh dd72879d09 Fix HLS automatic test (#2572) 1 年之前
package-lock.json 59f9299b6a Bump node-fetch from 2.6.6 to 2.6.7 in /test (#1700) 2 年之前
package.json 59f9299b6a Bump node-fetch from 2.6.6 to 2.6.7 in /test (#1700) 2 年之前
populateContent.sh f1a2a918c8 Change host in fixture script 2 年之前
userColorsTest.js f4815e331c Update chat styling 4 年之前

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