Using Network Load Generator with Solo

This document describes how to use Network Load Generator with Solo.

Using Network Load Generator with Solo

The Network Load Generator (NLG) is a benchmarking tool designed to stress test Hiero networks by generating configurable transaction loads. To use the Network Load Generator with Solo, follow these steps:

  1. Create a Solo network:
npx @hashgraph/solo:@latest one-shot single deploy
  1. Use the rapid-fire commands to install the NLG chart and start a load test:
@hashgraph/solo:@latest rapid-fire crypto-transfer start --deployment my-deployment --args '"-c 3 -a 10 -t 60"'
  1. In a separate terminal, you can start a different load test:
@hashgraph/solo:@latest rapid-fire nft-transfer start --deployment my-deployment --args '"-c 3 -a 10 -t 60"'
  1. To stop the load test early use the stop command:
@hashgraph/solo:@latest rapid-fire nft-transfer stop --deployment my-deployment
  1. To stop all running load tests and uninstall the NLG chart, use the destroy command:
@hashgraph/solo:@latest rapid-fire destroy all --deployment my-deployment

See this example for more details: examples/network-load-generator/README.md

A full list of all available rapid-fire commands can be found in Solo CLI Commands

Argument list for every NLG class

ClassArgument
CryptoTransferLoadTest[-c ] [-a ] [-K ED25519 / ECDSA] [-R] [-t / tt
TokenTransferLoadTest[-c ] [-a ] [-T ] [-A ] [-K ED25519 / ECDSA] [-R] [-t / tt
NftTransferLoadTest[-c ] [-a ] [-T ] [-n <NFTs/token>] [-S flat / hot -p ] [-K ED25519 / ECDSA] [-R] [-t / tt
SmartContractLoadTest[-c ] [-a ] [-K ED25519 / ECDSA] [-R] [-t / tt
HeliSwapLoadTest[-c ] [-a ] [-R] [-t / tt
LongevityLoadTest[-c ] [-a ] [-R] [-t / tt