extpostman

package
v2.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPostEnvironmentId

func GetPostEnvironmentId(environmentIdOrName string) (string, error)

func NewPostmanAction

func NewPostmanAction() action_kit_sdk.Action[PostmanState]

func NewPostmanCollectionDiscovery

func NewPostmanCollectionDiscovery() discovery_kit_sdk.TargetDiscovery

Types

type NewmanJsonReport

type NewmanJsonReport struct {
	Run Run `json:"Run"`
}

type PostmanAction

type PostmanAction struct {
}

func (PostmanAction) Describe

func (PostmanAction) NewEmptyState

func (f PostmanAction) NewEmptyState() PostmanState

func (PostmanAction) Start

func (PostmanAction) Status

func (PostmanAction) Stop

type PostmanCollection

type PostmanCollection struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

func GetPostmanCollections

func GetPostmanCollections() []PostmanCollection

type PostmanCollectionResult

type PostmanCollectionResult struct {
	Collections []PostmanCollection `json:"collections"`
}

type PostmanConfig

type PostmanConfig struct {
	EnvironmentIdOrName string
	Environment         []map[string]string
	Verbose             bool
	Bail                bool
	Timeout             int
	TimeoutRequest      int
	Iterations          int
}

type PostmanEnvironment

type PostmanEnvironment struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

func GetPostmanEnvironments

func GetPostmanEnvironments() []PostmanEnvironment

type PostmanEnvironmentResult

type PostmanEnvironmentResult struct {
	Environments []PostmanEnvironment `json:"environments"`
}

type PostmanState

type PostmanState struct {
	Command         []string `json:"command"`
	Pid             int      `json:"pid"`
	CmdStateID      string   `json:"cmdStateId"`
	Timestamp       string   `json:"timestamp"`
	StdOutLineCount int      `json:"stdOutLineCount"`
}

type Run

type Run struct {
	Stats *Stats `json:"Stats"`
}

type Stat

type Stat struct {
	Total   int `json:"total"`
	Pending int `json:"pending"`
	Failed  int `json:"failed"`
}

type Stats

type Stats struct {
	Requests   *Stat `json:"Requests"`
	Assertions *Stat `json:"Assertions"`
}

Jump to

Keyboard shortcuts

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