Appearance
Installation and Setup
This guide will help you install Load-Pulse and verify that it's working correctly.
Prerequisites
Before installing Load-Pulse, ensure you have the following tools installed:
- Go (version 1.21 or later) – Required for building and running Load-Pulse
- Docker – Containerization engine used by Load-Pulse for running distributed load tests
- Git – Version control system (optional, but recommended)
Installation Methods
Option 1: go install (Recommended)
If you have Go installed and your GOBIN/GOPATH/bin is on your system PATH:
bash
go install github.com/Naganathan05/Load-Pulse@latest
This installs Load-Pulse globally, giving you a loadpulse command that you can run from any directory.
Option 2: Clone and Build Locally
If you prefer to build from source or want to contribute:
bash
git clone https://github.com/Naganathan05/Load-Pulse.git
cd Load-Pulse
go build -o loadpulse ./main.go
On Windows PowerShell:
powershell
git clone https://github.com/Naganathan05/Load-Pulse.git
cd Load-Pulse
go build -o loadpulse.exe .\main.go
After building, you can either:
- Add the binary to your
PATH - Run it directly:
./loadpulse(Linux/macOS) or.\loadpulse.exe(Windows)
Option 3: Run Without Installation
You can also run Load-Pulse directly without installing:
bash
git clone https://github.com/Naganathan05/Load-Pulse.git
cd Load-Pulse
go run ./main.go --help
On Windows PowerShell:
powershell
git clone https://github.com/Naganathan05/Load-Pulse.git
cd Load-Pulse
go run .\main.go --help
Verifying Installation
After installation, verify that Load-Pulse is working correctly:
Check the version:
bashloadpulse versionThis should display the installed Load-Pulse version.
View available commands:
bashloadpulse --helpThis should list all available commands:
init,validate,run,clean, andversion.Ensure Docker is running:
Load-Pulse requires Docker to be running. Verify Docker is available:
bashdocker --version docker psIf Docker is not running, start Docker Desktop (or your Docker daemon) before using Load-Pulse.
Next Steps
Once Load-Pulse is installed and verified:
- Create a test configuration using
loadpulse init - Validate your configuration using
loadpulse validate - Run your first load test using
loadpulse run
For detailed information about each command, see the Commands documentation.