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

๐Ÿ” Built on Rounds and Iterations for structured testing
๐ŸŽ›๏ธ Offers flexible Iteration Modes to simulate real-world traffic
๐Ÿ“Š Helps evaluate system scalability, endurance, and resilience
โš™๏ธ Empowers developers and QA engineers with powerful testing scenarios

๐Ÿ’ป 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:

โš ๏ธ 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.