extpostman

package
v2.0.36 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadCollection added in v2.0.30

func DownloadCollection(collectionId, destPath string) error

DownloadCollection fetches the collection from the Postman API and writes it to destPath.

func DownloadEnvironment added in v2.0.30

func DownloadEnvironment(environmentId, destPath string) error

DownloadEnvironment fetches the environment from the Postman API and writes it to destPath.

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"`
	WorkDir         string   `json:"workDir"`
	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