Skip to content

Azure Local Load Testing Framework ​

Azure Local Load Testing Framework

Automated performance and load testing for Azure Local clusters — storage, network, database, and system stress — with standardised reporting.

WARNING

Under Active Development This repository is a work in progress. Scripts, templates, and automation are not guaranteed to work at this time. Use at your own risk and expect breaking changes.

!!! tip "Each test is standalone" Every tool in this framework runs independently from a PowerShell terminal. No CI/CD pipeline is required. Pick a tool, follow the steps on its page, and run your test.

Quick Start ​

powershell
# 1. Clone and configure
git clone https://github.com/AzureLocal/azurelocal-loadtools
cd azurelocal-loadtools
# Use the environment's infrastructure.yml (schema 5, written by Trailwright and filled by hardware discovery).
# The scripts read cluster.name and nodes[].name from it; see Getting Started, Installation.

# 2. Run a VMFleet storage benchmark (fully implemented)
.\tools\vmfleet\Invoke-VMFleetPipeline.ps1 `
    -ClusterConfigPath ".\infrastructure.yml" `
    -ProfilePath "tools\vmfleet\config\profiles\general.yml"

# Or run individual steps (each reads the cluster name and nodes from the cluster file):
.\tools\vmfleet\scripts\Install-VMFleet.ps1 -ClusterConfigPath ".\infrastructure.yml"
.\tools\vmfleet\scripts\Start-VMFleetTest.ps1 -ClusterConfigPath ".\infrastructure.yml" -ProfilePath "tools\vmfleet\config\profiles\general.yml" -DurationSeconds 600
.\tools\vmfleet\scripts\Collect-VMFleetResults.ps1 -ClusterConfigPath ".\infrastructure.yml" -RunId "<run-id>"

Pick a Test ​

Each tool targets a specific performance domain. Click a tool to see exactly how to run it.

ToolWhat It TestsTarget OSStatus
VMFleetStorage IOPS, throughput, latency via DiskSpd VM fleetWindows (HCI host)Implemented, unit-tested, not proven on hardware
fioFine-grained storage I/O benchmarkingLinux VMsImplemented, unit-tested, not proven on hardware
iPerf3Network bandwidth, jitter, packet lossLinux / WindowsImplemented, unit-tested, not proven on hardware
HammerDBSQL Server OLTP / OLAP benchmarkingWindows VMsImplemented, unit-tested, not proven on hardware
stress-ngCPU, memory, and system stress testingLinux VMsImplemented, unit-tested, not proven on hardware

For a detailed comparison and selection guide, see Tools Overview.

How It Works ​

Every tool follows the same three-step pattern:

Install → Run Test → Collect Results

All scripts are in tools/<tool>/scripts/ and can be called directly from PowerShell. No pipeline setup required.

For the full architecture breakdown, see Architecture Overview.

Want to Automate? ​

CI/CD pipelines are available as an optional addition if you want to run tests on a schedule, trigger them from pull requests, or integrate into your deployment workflow. See CI/CD Pipelines.

SectionDescription
Getting StartedPrerequisites, installation, and first run
Tools OverviewAll tools at a glance with selection guide
ArchitectureFive-layer stack, tool selection, data flow
OperationsCI/CD pipelines (optional), runner setup, troubleshooting
ReferenceCmdlet reference, variables, tool comparison
RoadmapMilestone tracker and planned features

Repository ​

Released under the MIT License.