Distributed HTTP load testing framework with journey-based scenarios
Project description
██╗██████╗ ██████╗ ███╗ ██╗ ███████╗██╗ ██╗ █████╗ ██████╗ ███╗ ███╗
██║██╔══██╗██╔═══██╗████╗ ██║ ██╔════╝██║ ██║██╔══██╗██╔══██╗████╗ ████║
██║██████╔╝██║ ██║██╔██╗ ██║ ███████╗██║ █╗ ██║███████║██████╔╝██╔████╔██║
██║██╔══██╗██║ ██║██║╚██╗██║ ╚════██║██║███╗██║██╔══██║██╔══██╗██║╚██╔╝██║
██║██║ ██║╚██████╔╝██║ ╚████║ ███████║╚███╔███╔╝██║ ██║██║ ██║██║ ╚═╝ ██║
╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚══════╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝
Table of Contents
Installation
pip install ironswarm
Usage
usage: ironswarm [-h] [-b BOOTSTRAP] [-H HOST] [-p PORT] [-j JOB] [-v | --verbose | --no-verbose] [--log-file LOG_FILE]
options:
-h, --help show this help message and exit
-b, --bootstrap BOOTSTRAP
bootstrap node(s) to initially connect to
-H, --host HOST network interface to bind to local/public or IP address (default: public)
-p, --port PORT port to bind to (default: 42042)
-j, --job JOB job to run (default: None)
-v, --verbose, --no-verbose
enable verbose logging
--log-file LOG_FILE Optional path to write logs to a file.
Run a single node with no bootstrap
ironswarm -H local
Run multiple nodes in a tmux session
./example/multi.sh
Run a single node bootstrapping to another node
ironswarm -H local -b tcp://127.0.0.1:42042
Docker
Pull the latest image:
docker pull ghcr.io/ryan-h265/ironswarm:latest
Run the latest image:
docker run -it ghcr.io/ryan-h265/ironswarm:latest ironswarm -H local
Running with Custom Scenario Files
To run the container with your own scenario files, copy them into the running container:
- Start the container with a name:
docker run -d --name ironswarm-node ghcr.io/ryan-h265/ironswarm:latest tail -f /dev/null
- Copy your scenario file into the container:
docker cp examples/http_scenario.py ironswarm-node:/usr/src/app/http_scenario.py
- Execute ironswarm with your scenario:
docker exec -it ironswarm-node ironswarm -j http_scenario:scenario -H local
- Clean up when done:
docker stop ironswarm-node
docker rm ironswarm-node
Development
Useful hatch commands
hatch run types:check
hatch test --cover
License
This project is licensed under the MIT License. See the LICENSE file for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ironswarm-0.0.2.tar.gz.
File metadata
- Download URL: ironswarm-0.0.2.tar.gz
- Upload date:
- Size: 4.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3ff9c86047bd894bf5dc9283518f667695ba558689eb7011051c1bd9cb2dd3e
|
|
| MD5 |
0aa670951713116019ac09c21568f640
|
|
| BLAKE2b-256 |
91ab4134dbef7773f79b9b3906835561aa18ffdce0148f484fdf6ee910f2b735
|
Provenance
The following attestation bundles were made for ironswarm-0.0.2.tar.gz:
Publisher:
release.yml on ryan-h265/ironswarm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ironswarm-0.0.2.tar.gz -
Subject digest:
a3ff9c86047bd894bf5dc9283518f667695ba558689eb7011051c1bd9cb2dd3e - Sigstore transparency entry: 697747488
- Sigstore integration time:
-
Permalink:
ryan-h265/ironswarm@b77dd55a4ea870163d4bc302ac96a706ae246d71 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/ryan-h265
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b77dd55a4ea870163d4bc302ac96a706ae246d71 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ironswarm-0.0.2-py3-none-any.whl.
File metadata
- Download URL: ironswarm-0.0.2-py3-none-any.whl
- Upload date:
- Size: 44.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1317dcb182836871f887655c1f882b48d55c70ede765b50c165eff3b3a154ccf
|
|
| MD5 |
eb83f69240d53c2307668cb6e4508feb
|
|
| BLAKE2b-256 |
e5120c79e4a28e58c936254f4b41f90768e9ef9e22b9537d7432fc5c50b88499
|
Provenance
The following attestation bundles were made for ironswarm-0.0.2-py3-none-any.whl:
Publisher:
release.yml on ryan-h265/ironswarm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ironswarm-0.0.2-py3-none-any.whl -
Subject digest:
1317dcb182836871f887655c1f882b48d55c70ede765b50c165eff3b3a154ccf - Sigstore transparency entry: 697747519
- Sigstore integration time:
-
Permalink:
ryan-h265/ironswarm@b77dd55a4ea870163d4bc302ac96a706ae246d71 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/ryan-h265
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b77dd55a4ea870163d4bc302ac96a706ae246d71 -
Trigger Event:
release
-
Statement type: