bulma

command module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 1 Imported by: 0

README

Last commit Repository Stars Issues Open Issues go

eyecatch

bulma

👊 CLI tool to parse OpenAPI and stress test each endpoint. 👊



Install

go install github.com/seipan/bulma@latest

Usage

Usage:
  bluma [flags]

Flags:
  -b, --basepath string     BaseURL for stress test
  -d, --duration duration   stress test duration (default 1ns)
  -p, --filepath string     FilePath for Parsing OpenAPI
  -f, --frequency int       stress test frequency (default 1)
  -h, --help                help for bluma
-basepath

This is the base URL where you want to apply the load.

-duration

This is stress test duration. (default 1ns)

-filepath

This is FilePath for Parsing OpenAPI.

-frequency

This is stress test frequency. (default 1)

Example

bulma --path=testdata/health.yaml --base=http://localhost:8080
--------------------------bulma attack start-------------------------------
--------------------------vegeta attack to http://localhost:8080/health--------------------------
vegeta attack to method: GET
path StatusCode: map[200:1]

max percentile: 333.6204ms
mean percentile: 333.6204ms
total percentile: 333.6204ms
99th percentile: 333.6204ms

 earliest: 2023-09-23 05:23:05.1839784 +0900 JST m=+1.029301501
 latest: 2023-09-23 05:23:05.1839784 +0900 JST m=+1.029301501
-----------------------------------------------------------------------
--------------------------bulma attack finish-------------------------------

License

Code licensed under the MIT License.

Documentation

Overview

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL