mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 06:12:23 +03:00
ca9d5de192
* Replace pkger with go:embed for bundling the admin. Closes #844 * Remove references to pkged.go * Point tests to use an updated version of Go * Add comment to new exported function * Cleanup * Add a dummy pkged.go to alert people to stop using it. * Add simple browser test to make sure the admin is available and renders * Don't panic * Embed bot/scraper metadata template. Add browser test to validate the rendering of this template. * Use embedded offline.ts segment * Remove placeholder thumbnail as its unnecessary * Remove copying the static directory into the release * Cleanup |
||
---|---|---|
.. | ||
automated | ||
load | ||
.gitignore | ||
fakeChat.js | ||
ocTestStream.sh | ||
README.md | ||
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