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 load start --deployment my-deployment --args '"-c 3 -a 10 -t 60"' --test CryptoTransferLoadTest
  1. In a separate terminal, you can start a different load test:
@hashgraph/solo:@latest rapid-fire load start --deployment my-deployment --args '"-c 3 -a 10 -t 60"' --test NftTransferLoadTest
  1. To stop the load test early use the stop command:
@hashgraph/solo:@latest rapid-fire load stop --deployment my-deployment --test CryptoTransferLoadTest
  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

Test names and arguments

For a detailed list of all available tests and their arguments, refer to the Network Load Generator documentation