cannonade

command module
v0.0.0-...-58bd9a1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 19 Imported by: 0

README

Cannonade

Cannonade is your favorite tool for cannonading Web API services1.

1 At least for those ones that support JSON inputs with an image field containing a base64-encoded JPEG image.

Installation

go get -u github.com/nizhib/cannonade

Usage

Usage: cannonade [options...] <url>

Options:
  -image         Path of the image to shoot with. Default is "example.jpg".
  -num-requests  Total number of requests. Default is 100.
  -num-clients   Number of parallel requests. Default is 8.
  -noisy         Add random noise to each request.
  -timeout       Request timeout limit. Default is 10.0.
  -apikey        API Key to use as a query parameter.
  -verbose       Print every response to stdout.
  -metrics       Save latencies to metrics.log file.
  -progress      Show progressbar.
  -silent        Disable any output but errors.

Documentation

Overview

Cannonade is your favorite tool for cannonading Web API services

Jump to

Keyboard shortcuts

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