gingervitis 9a91324456 Inline chat moderation UI (#1331) 3 years ago
..
automated 9a91324456 Inline chat moderation UI (#1331) 3 years ago
load 3d44b6890c Bump nth-check from 2.0.0 to 2.0.1 in /test/load (#1421) 3 years 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 e7a9353a5e Force a gop and framerate in test content 3 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