Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Expect ¶
type Expect struct { Code string `yaml:"code,omitempty"` Header yaml.MapSlice `yaml:"header,omitempty"` Body interface{} `yaml:"body,omitempty"` }
Expect represents expected response values.
type HTTP ¶
type HTTP struct{}
HTTP is a protocol type for the scenarigo step.
func (*HTTP) UnmarshalExpect ¶
func (p *HTTP) UnmarshalExpect(b []byte) (protocol.AssertionBuilder, error)
UnmarshalExpect implements protocol.Protocol interface.
type Request ¶
type Request struct { Client string `yaml:"client,omitempty"` Method string `yaml:"method,omitempty"` URL string `yaml:"url,omitempty"` Query interface{} `yaml:"query,omitempty"` Header interface{} `yaml:"header,omitempty"` Body interface{} `yaml:"body,omitempty"` }
Request represents a request.
Click to show internal directories.
Click to hide internal directories.