1. Install LPS
On Windows, Linux, or macOS, install the .NET 8 SDK, then run these commands in your terminal:
dotnet tool install --global lps
lps --version
You should see the installed LPS version. If your terminal cannot find lps, check the .NET global tools directory is on your PATH. See the installation reference for details.
2. Create your test plan
Save the following as loadtest.yaml in a working folder. Replace https://api.example.com/products with a product-listing endpoint on an API you own or have explicit permission from its owner to test. The example URL is a placeholder, not a test service.
name: "ProductCatalogLoadTest"
rounds:
- name: "FirstRun"
numberOfClients: 1
arrivalDelay: 0
iterations:
- name: "ListProducts"
httpRequest:
url: "https://api.example.com/products"
httpMethod: "GET"
mode: "D"
duration: 30
This sends sequential requests from one client for 30 seconds. Start here to validate the setup, not to establish your API's capacity. For protected endpoints, configure request headers and authentication first.
3. Run it
In the same folder as loadtest.yaml, start your test:
lps run loadtest.yaml
The built-in dashboard is enabled by default on port 8009. Dashboard configuration is optional; no setup command is needed for a first run.
4. See the results
LPS opens the dashboard automatically in your browser when the test starts. Watch the live results there; no manual opening is needed. This is your local dashboard, not a hosted LPS service.
- Request counts and failures: confirm requests reach your API and return the expected responses. Fast errors are not successful transactions.
- Response times and throughput: observe latency and the achieved request rate during this small run.
If your browser does not open automatically, visit http://localhost:8009 on the machine running LPS while the test is running. Check that LPS is still running and the configured port is available. If you previously changed the defaults, check that the dashboard is enabled and use your configured port. See the dashboard guide for optional configuration and metrics.
Once the requests work as intended, increase the client count gradually within limits agreed with the system owner. Use the test planning guide to define a meaningful workload and acceptance criteria.