package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Apr 9, 2024
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Expected struct {
Body string `yaml:"body"`
Status int `yaml:"status"`
}
type HttpStats struct {
Info int
Success int
ClientError int
Redirect int
ServerError int
}
type Input struct {
Schema *Schema `yaml:"schema"`
Timeout *float64 `yaml:"timeout,omitempty"`
Concurrency *int `yaml:"concurrency"`
Base string `yaml:"base,omitempty"`
Iterations int `yaml:"iterations"`
}
type Request struct {
Timeout *float64 `yaml:"timeout,omitempty"`
Name string `yaml:"name"`
URL string `yaml:"url"`
Method string `yaml:"method"`
Body string `yaml:"body,omitempty"`
}
type Schema struct {
Requests []*Request `yaml:"requests"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.