CLI web service availability verifier
Project description
macedon
Multi-threaded CLI web service availability verifier. Takes a list of endpoints with optional input dataset, performs series of HTTP requests and displays the results.
Motivation
Necessity to have a fast and configurable endpoint testing tool at fingertips.
Installation
pipx install macedon
Basic usage
Configuration / Advanced usage
Usage: python -m macedon [OPTIONS] [ENDPOINT_URL]...
Options:
-T, --threads INTEGER Number of threads for concurrent request making. Default value depends on number of
CPU cores available in the system. [default: 6]
-n, --amount INTEGER How many times each request will be performed. [default: 1]
-d, --delay FLOAT Seconds to wait between requests. [default: 0]
-t, --timeout FLOAT Seconds to wait for the response. [default: 10]
-f, --file FILENAME Execute request(s) from a specified file. The file should contain a list of endpoints
in the format '{method} {url}', one per line. Another supported (partially) format is
JetBrains HTTP Client format, which additionally allows to specify request headers and
body. The option can be specified multiple times. The ENDPOINT_URL argument(s) are
ignored if this option is present.
-c, --color / -C, --no-color
--show-id
--show-error
-v, --verbose Increase details level: -v for request info, -vv for debugging worker threads
debugging, -vvv for response tracing [0<=x<=3]
--help Show this message and exit.
Changelog
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
macedon-0.9.11.tar.gz
(101.8 kB
view hashes)
Built Distribution
macedon-0.9.11-py3-none-any.whl
(109.0 kB
view hashes)