After cloning the current master, running ./bees -h doesn't produce the full output shown in README.textfile.
I was looking to use the -p POST_FILE option and I get the error:
bees: error: no such option: -p
and ./bees -h produces:
Usage:
bees COMMAND [options]
Bees with Machine Guns
A utility for arming (creating) many bees (small EC2 instances) to attack
(load test) targets (web applications).
commands:
up Start a batch of load testing servers.
attack Begin the attack on a specific url.
down Shutdown and deactivate the load testing servers.
report Report the status of the load testing servers.
Options:
-h, --help show this help message and exit
up:
In order to spin up new servers you will need to specify at least the
-k command, which is the name of the EC2 keypair to use for creating
and connecting to the new servers. The bees will expect to find a .pem
file with this name in ~/.ssh/.
-k KEY, --key=KEY The ssh key pair name to use to connect to the new
servers.
-s SERVERS, --servers=SERVERS
The number of servers to start (default: 5).
-g GROUP, --group=GROUP
The security group to run the instances under
(default: default).
-z ZONE, --zone=ZONE
The availability zone to start the instances in
(default: us-east-1d).
-i INSTANCE, --instance=INSTANCE
The instance-id to use for each server from (default:
ami-ff17fb96).
-l LOGIN, --login=LOGIN
The ssh username name to use to connect to the new
servers (default: newsapps).
attack:
Beginning an attack requires only that you specify the -u option with
the URL you wish to target.
-u URL, --url=URL URL of the target to attack.
-n NUMBER, --number=NUMBER
The number of total connections to make to the target
(default: 1000).
-c CONCURRENT, --concurrent=CONCURRENT
The number of concurrent connections to make to the
target (default: 100).
My mistake! I was running an old version installed using pip. pip uninstall beeswithmachineguns and installing the repo master with python setup.py install resolved this issue!
After cloning the current master, running
./bees -h
doesn't produce the full output shown in README.textfile.I was looking to use the
-p POST_FILE
option and I get the error:bees: error: no such option: -p
and
./bees -h
produces:Any ideas?