pandora

command module
v0.5.23 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

README

Pandora

Release Release Test codecov Code lines

PkgGoDev Go Report Card

Pandora is a high-performance load generator in Go language. It has built-in HTTP(S) and HTTP/2 support and you can write your own load scenarios in Go, compiling them just before your test.

How to start

Binary releases

Download available.

Building from sources

We use go 1.11 modules. If you build pandora inside $GOPATH, please make sure you have env variable GO111MODULE set to on.

git clone https://github.com/yandex/pandora.git
cd pandora
make deps
go install

Or let Yandex.Tank make it easy for you.

Extension points

You can write plugins with the next extension points:

You can also cross-compile for other arch/os:

GOOS=linux GOARCH=amd64 go build
Running your tests

Run the binary with your config (see config examples at examples):

# $GOBIN should be added to $PATH
pandora myconfig.yaml

Or use Pandora with Yandex.Tank and Overload.

Changelog

Install https://github.com/miniscruff/changie

You can add changie completion to you favorite shell https://changie.dev/cli/changie_completion/

Using

See https://changie.dev/guide/quick-start/

Show current version changie latest

Show next minor version changie next minor

Add new comments - changie new - and follow interface

Create changelog release file - changie batch v0.5.21

Same for next version - changie batch $(changie next patch)

Merge to main CHANGELOG.md file - changie merge

Documentation

Documentation

Old Documentation

ReadTheDocs

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
components
guns/http
package phttp (pandora http) contains pandora extension points for HTTP related protocols.
package phttp (pandora http) contains pandora extension points for HTTP related protocols.
package core defines pandora engine extension points.
package core defines pandora engine extension points.
config
Package config provides advanced framework to decode and validate configuration structs.
Package config provides advanced framework to decode and validate configuration structs.
coreutil
package coreutil provides utilities for core interfaces, that can be useful not only for engine, but other core importers too.
package coreutil provides utilities for core interfaces, that can be useful not only for engine, but other core importers too.
plugin
Package plugin provides a generic inversion of control model for making extensible Go packages, libraries, and applications.
Package plugin provides a generic inversion of control model for making extensible Go packages, libraries, and applications.
plugin/pluginconfig
Package pluginconfig contains integration plugin with config packages.
Package pluginconfig contains integration plugin with config packages.
examples
lib
mp
netutil/mocks
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0
str
tag
tests

Jump to

Keyboard shortcuts

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