Gabe Kangas e0a75d5d54 Add support for established chat user mode. #1587 (#1681) 2 年之前
..
automated e0a75d5d54 Add support for established chat user mode. #1587 (#1681) 2 年之前
load 3d44b6890c Bump nth-check from 2.0.0 to 2.0.1 in /test/load (#1421) 3 年之前
.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 e7a9353a5e Force a gop and framerate in test content 3 年之前
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 年之前
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