* block and unblock ipv6 explicitly * refactor admin api tests * use sendAdminPayload() for chatuser tests * fix sendAdminRequests * add getAdminResponse() to api test lib/admin.js * some admin apis don't have response body * cleanup test/automated/api/chatusers.test.js * cleanup test/automated/api/chatusers.test.js use getAdminResponse() to access admin apis
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.yamlfor endpoint load tests.artillery run websocketTest.yamlfor 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 installnode fakeChat.js