0a8fc6e8c5
* rm stable: 'false' from actions/setup-go@v3 * adapt tests from #2369 * set undefined as defaultStreamKey pass adminpass to sendConfigChangeRequest() * mv getAdminConfig to api/lib/config.js * npm install --quiet for automated tests * refactor tests separate default values from new ones * test adminpass change fix defaultStreamKeys test * fix defaultStreamKeys * use getAdminStatus * mv test/automated/lib/config.js to admin.js * check default hideViewerCount cleanup * test more default options in api erverName SServerSummary yp.instanceUrl FederationConfig.username * more testing of default config params * update reference values for api test |
||
---|---|---|
.. | ||
automated | ||
load | ||
.gitignore | ||
fakeChat.js | ||
ocTestStream.sh | ||
package-lock.json | ||
package.json | ||
populateContent.sh | ||
README.md | ||
testContent.sh | ||
userColorsTest.js |
Tests
Load Tests
- Install artillery from NPM/Yarn/Whatever Javascript package manager is popular this week.
- Start an instance of the server on localhost.
artillery run httpGetTest.yaml
for endpoint load tests.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.
npm install
node fakeChat.js