LPS documentation
Build your first test, understand the workload model, and use the command reference when you need more detail.
Workspace GUI & Grafana
The LPS Workspace GUI and support for the current Grafana dashboard templates are generally available starting with LPS 3.0.6.9. Use the Workspace to create tests, import HAR captures, and review runs, or follow the Grafana integration guide to connect InfluxDB and all six linked dashboards.
API Management & Security
Looking beyond load testing? Start with the API management and security introduction for lifecycle governance, gateways, identity, access control, and traffic policies. This is a separate documentation section from the LPS tool reference.
Plan before you scale
New to performance testing? Read the performance test planning guide for workload design, acceptance criteria, monitoring, and safe execution. The synthetic sample report shows how to explain results without overstating the evidence.
Prefer hands-on help? Explore load testing services or API performance testing. The first 1-hour consultation is free; ongoing consulting is $100 per hour.
๐ Introduction
Welcome to the LPS Tool โ your ultimate companion for Load, Performance, and Stress testing!
๐ ๏ธ The LPS Tool (Load, Performance, and Stress Testing Command Tool) is a flexible framework for testing your web application's performance under simulated load.
๐ Key Highlights
๐ป Installation Guide
New to LPS? Follow the quick start to install the tool, run a small YAML test, and view your results.
๐งญ LPS Tool is cross-platform โ it works on Windows, Linux, and macOS!
๐ ๏ธ Quick Install (Recommended)
You can now install the LPS Tool directly from NuGet as a global .NET CLI tool:
dotnet tool install --global lps
โ Requirement: Install the .NET 8 SDK before installing LPS as a global tool.
After installation, you can run LPS from anywhere using:
lps --version
โจ That's it! You're ready to start load testing with LPS Tool.
If the command is not found, check that the .NET global tools directory is on your PATH.
Your first YAML test: a product-listing API
Save this configuration as loadtest.yaml. Replace the example URL with a system you own or have explicit permission from its owner to test. Start with a small workload.
name: "ProductCatalogLoadTest"
rounds:
- name: "Ramp"
numberOfClients: 100
arrivalDelay: 1000
iterations:
- name: "ListProducts"
httpRequest:
url: "https://api.example.com/products"
httpMethod: "GET"
mode: "D"
duration: 30
Each client sends requests sequentially for 30 seconds. Clients start one second apart, so this is not a 30-second duration for the entire run.
lps run loadtest.yaml
Watch latency, throughput, and failures in the dashboard, then compare them with your acceptance criteria. See the test planning guide for workload design and safe execution.
โก Quick Test Examples
1๏ธโฃ Ramp up 1000 clients gradually
lps --url https://www.example.com --numberofclients 1000 --arrivaldelay 100
๐ Starts 1000 clients gradually with a 100 ms delay between client arrivals
2๏ธโฃ Simple GET Request
lps --url https://www.example.com -rc 1000
๐ Sends 1000 GET requests to the specified URL
3๏ธโฃ POST Request with Inline Payload
lps --url https://www.example.com -rc 1000 --httpmethod "POST" --payload "Inline Payload"
๐ Sends 1000 POST requests with a plain text payload
4๏ธโฃ POST Request with File Payload
lps --url https://www.example.com -rc 1000 --httpmethod "POST" --payload "Path:C:\Users\User\Desktop\LPS\urnice.json"
๐ Sends 1000 POST requests using a JSON file as payload
5๏ธโฃ POST Request with Payload URL
lps --url https://www.example.com -rc 1000 --httpmethod "POST" --payload "URL:https://www.example.com/payload"
๐ Sends 1000 POST requests where the payload is fetched from a URL
๐ Distributed Load Testing
๐ Distributed testing is supported starting from v2.0.2_preview.
๐ Learn more in the Distributed Load Testing Article
๐ LPS Documentation
Explore full docs in the ๐ LPS Docs Repo
Key Sections:
- ๐งพ Articles
- ๐ง Concepts
- ๐ก Examples
- ๐ Migration Guide - Upgrading from v3.0.2.5 to v3.0.2.6+
โ ๏ธ Warning: This documentation applies only to version 2.0_Preview and above of the LPS Tool.
For earlier versions, please visit the readme.md in each version's directory.
โ ๏ธ Note: Version 2.x is NOT backward compatible with 1.x.