vt-loadtest
1.0.36
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global vt-loadtest --version 1.0.36
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local vt-loadtest --version 1.0.36
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=vt-loadtest&version=1.0.36
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package vt-loadtest --version 1.0.36
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
LoadTest
LoadTest is a simple website load tester packaged in a .NET tool. It's not fully-featured and is just a toy/tool for myself, but feel free to use it.
Install
You need the .NET SDK to run this tool.
dotnet tool install --global vt-loadtest
vt-loadtest --help
Build
You need the .NET SDK to build this project.
./build/build.ps1
Usage
If running from source, replace vt-loadtest
with dotnet run --
.
# Load test using a remote sitemap on 2 threads. Works on nested sitemap indexes.
vt-loadtest run --path 'https://developers.google.com/tasks/sitemap.xml' --threads 2
# Load test using a remote sitemap index for 30 seconds and limit the rate of requests.
vt-loadtest run --path 'https://developers.google.com/sitemap.xml' --seconds 30 --delay
# Use a local list of URLs rather than a site map. Force at least 20% chance of 404.
vt-loadtest run --path './samples/sitemapUrls.txt' --chance-404 20
# Crawl a sitemap index and write the URLs to a local file to speed up repeat runs where sitemap retrieval is slow.
vt-loadtest make-list --path 'https://developers.google.com/sitemap.xml' --output './samples/url-list.txt'
See the --help
for more.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.