Skip to content

gear-foundation/node-testing-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Testing Scripts

Installation

First, ensure you have Node.js installed. Then, install the dependencies:

yarn install

Running a Simple Test

To run a simple test, execute the following command. Replace <your_provider_address> with your actual provider address. Ensure the address starts with wss:

yarn test simple <your_provider_address>

For example:

yarn test simple wss://rpc.vara.network

Upon successful completion, the test will calculate the gas for transfer and approve, and check the state in the fungible token contract.

Running a Load Test

To perform load testing on the node, execute the following command. Replace <your_provider_address> with your actual provider address. Ensure the address starts with wss:

yarn test batch <your_provider_address>

This test sends 10,000 state reading requests to the contract.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published