mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 14:20:54 +03:00
dd72879d09
* mv automated test cleanup to tools.sh check media file exists before streaming in test/ocTestStream.sh fix automatic test ffmpeg detection mv trap to tools mv update_storage_config() to tools enable S3 test * fix video file check in test/ocTestStream.sh * cleanup ci * mv auto test owncast build-run to start_owncast() * suppress cleanup errors * fix style * fix Browser Test paths * use pull_request event for Browser Tests * explicitly mention when test is skipped * refactor shell scripts |
||
---|---|---|
.. | ||
automated | ||
load | ||
.gitignore | ||
fakeChat.js | ||
ocTestStream.sh | ||
package-lock.json | ||
package.json | ||
populateContent.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