Skip to content

circuit/node-load-circuit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

node-load-circuit

Create conversations and messages using the circuit node SDK. Useful to load the local Circuit system for load testing.

Requirements

Getting Started

    git clone https://github.com/yourcircuit/node-load-circuit.git
    cd node-load-circuit
    cp config.json.template config.json

Edit 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

Output

>./start.sh
01:08:38.306Z  INFO app: Logged on as admin@unify.com
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

About

Example node app to load Circuit system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published