step

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Step

type Step struct {
	Name            string       `json:"name"`            // Step Name
	NumPetitions    int          `json:"numPetitions"`    // Number of petitions
	ConcurrentUsers int          `json:"concurrentUsers"` // Concurrent users
	TasksNames      []string     `json:"tasks"`           // Concurrent users
	Tasks           []*task.Task // Orderer tasks
}

func Read

func Read(filePath string, tasks map[string]*task.Task) (*Step, error)

func (*Step) Execute

func (s *Step) Execute(ctx context.Context, client *httpclient.Client, base string, w io.Writer, onResult func(report.RequestResult)) (*report.StepResult, error)

Jump to

Keyboard shortcuts

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