Skip to content

Aescwine/otnode-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otnode-tester

Small Node.js app that sends API requests to an OriginTrail node, testing the different APIs. The application runs in a loop, provisioning an asset and then sending a number of requests to the different APIs.

Usage

  1. Clone repository to your node server: git clone https://github.com/Aescwine/otnode-tester.git
  2. cd otnode-tester
  • Update node-tester.js as required, adjusting the number of requests per loop and the wait time between requests. Note: adjusting these will impact your node's performance.
  1. Run command: npm install
  2. Copy service file: cp ./service/nodetester.service /lib/systemd/system/
  3. Enable service: systemctl enable nodetester.service
  4. Start service (requires node to be running): systemctl start nodetester.service
  5. Show service logs with journalctl -u nodetester --output cat -fn 100

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published