Create conversations and messages using the circuit node SDK. Useful to load the local Circuit system for load testing.
git clone https://github.com/yourcircuit/node-load-circuit.git cd node-load-circuit cp config.json.template config.json
- Add "admin email" and "admin password" to run the example. You can request a circuit account at the Circuit Developer Community Portal.
- Change the number of conversations to generate, the number of post & replies, and the percentage of likes and flags to set.
Run the sample application with
npm install node server.js
>./start.sh 01:08:38.306Z INFO app: Logged on as firstname.lastname@example.org 01:08:38.417Z INFO app: Created 4 open conversation(s) 01:08:38.448Z INFO app: Created 8 group conversation(s) 01:08:39.046Z INFO app: Created 56 text message(s) 01:08:39.473Z INFO app: Created 49 replies 01:08:39.641Z INFO app: Liked 34 message(s) 01:08:39.780Z INFO app: Flagged 11 message(s) 01:08:39.780Z INFO app: Done. Press Ctrl-C to exit