Rapid-Fire Example
Example of how to use the Solo rapid-fire commands.
Rapid-Fire Example
This example demonstrates how to deploy a minimal Hiero Hashgraph Solo network and run a suite of rapid-fire load tests against it using the Solo CLI.
What It Does
- Automates deployment of a single-node Solo network using Kubernetes Kind
- Runs rapid-fire load tests for:
- Crypto transfers
- Token transfers
- NFT transfers
- Smart contract calls
- HeliSwap operations
- Longevity (endurance) testing
- Cleans up all resources after testing
Prerequisites
How to Use
- Install dependencies (if not already installed):
- See the prerequisites above.
- Run the default workflow:
- From this directory, run:
task - This will:
- Install the Solo CLI
- Create a Kind cluster
- Deploy a single-node Solo network
- Run all rapid-fire load tests
- From this directory, run:
- Destroy the network:
- Run:
task destroy - This will:
- Stop all nodes
- Destroy the Solo network
- Delete the Kind cluster
- Run:
Files
Taskfile.yml— Automation for deployment, testing, and cleanupnlg-values.yaml— Example values file for load tests (if present)
Notes
- This example is self-contained and does not require files from outside this directory.
- You can customize the load test parameters in
Taskfile.yml. - For more advanced usage, see the main Solo documentation.