Documentation
¶
Overview ¶
Package execute turns a normalized operation and a value generator into a real HTTP request and records the outcome.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
BaseURL string
Client *http.Client
Headers http.Header
// Overrides allows specific generated values to be replaced (for stateful
// fuzzing variable binding). Keys use the format "location:field", e.g.
// "path:id", "query:limit", "body:user_id", "body:address.city".
Overrides map[string]any
}
Executor executes operations against a target base URL.
type Outcome ¶
type Outcome struct {
Method string
Path string
URL string
StatusCode int
ContentType string
Body string
Err string
// Params holds the generated values for path/query/header parameters,
// keyed by "in:name".
Params map[string]any
}
Outcome records what happened for one executed operation.
Click to show internal directories.
Click to hide internal directories.