Created a fake chat message generator script for testing

This commit is contained in:
Gabe Kangas
2020-09-24 23:52:54 -07:00
parent 519be9d3b4
commit 63bb647990
3 changed files with 82 additions and 22 deletions
+10 -1
View File
@@ -5,4 +5,13 @@
1. Install [artillery](https://artillery.io/) from NPM/Yarn/Whatever Javascript package manager is popular this week.
1. Start an instance of the server on localhost.
1. `artillery run httpGetTest.yaml` for endpoint load tests.
1. `artillery run websocketTest.yaml` for websocket load tests.
1. `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`
1. `node fakeChat.js`