runner

package
v1.16.25-beta003 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT, MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapResultStatus added in v1.13.4

func MapResultStatus(result parser.Result) string

func MapResultsToExecutionResults

func MapResultsToExecutionResults(out []byte, results parser.Results) (result testkube.ExecutionResult)

func MapTestResultStatus added in v1.13.4

func MapTestResultStatus(success bool) string

func MapTestResultsToExecutionResults added in v1.13.4

func MapTestResultsToExecutionResults(out []byte, results parser.TestResults) (result testkube.ExecutionResult)

Types

type JMeterRunner

type JMeterRunner struct {
	Params  envs.Params
	Scraper scraper.Scraper
}

JMeterRunner runner

func NewRunner

func NewRunner(ctx context.Context, params envs.Params) (*JMeterRunner, error)

func (*JMeterRunner) GetType

func (r *JMeterRunner) GetType() runner.Type

GetType returns runner type

func (*JMeterRunner) Run

func (r *JMeterRunner) Run(ctx context.Context, execution testkube.Execution) (result testkube.ExecutionResult, err error)

Jump to

Keyboard shortcuts

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