stress

command
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 4 Imported by: 0

README

Service Bus package reliability tests

These are the stress/reliability tests for the azservicebus package.

The entrypoint for the tests is stress.go. All of the individual tests are in the tests sub-folder. These tests should run fine on your local machine - you'll need to create an .env file with the following values:

SERVICEBUS_CONNECTION_STRING=<connection string to the Service Bus namespace>
APPINSIGHTS_INSTRUMENTATIONKEY=<instrumentation key for appinsights>

To run one of the more basic tests, where we just send and receive messages for a few days:

go run . tests infiniteSendAndReceive

To see all the tests that are available:

go run . tests

For convenience there's a deploy.ps1 file that'll launch the deployment - by default it'll go to the pg cluster, which we use for adhoc workloads. For more information about prerequisites look at the official stress test docs here: stress test readme.md.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL