Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MaxConns *int `yaml:"maxConns,omitempty"` MaxIdleConns *int `yaml:"maxIdleConns,omitempty"` Count int `yaml:"count"` Payload Payload `yaml:"payload"` }
Config is used for configuring a HTTP load test.
type Payload ¶
type Payload struct { URL string `yaml:"url"` Header ghttp.Header `yaml:"header"` Method string `yaml:"method"` Body []byte `yaml:"body,omitempty"` BodyFile *string `yaml:"bodyFile,omitempty"` BodyBase64 string `yaml:"bodyBase64,omitempty"` }
Payload is a payload for a HTTP load test.
Click to show internal directories.
Click to hide internal directories.