Bullet is a project mainly written in Ruby, based on the MIT license.
Parallel load-testing, fast like a bullet.
Bullet specifically target at Heroku-deploy Cedar environment.
Bullet use Parallel internally to manage threads and run mechanize/webrat tasks that load-test your website.
bullet
will look for a bullet.yml
in the current directory, use github
plan (details explained in .yml structure), use 10 rambos (dynos). Each dyno
will spawn 10 processes/threads, and take specs from spec/performance
bullet --aim github --machine 10 --gun 10 spec/performance
By default, Bullet will look for .rb files inside guns
folder in the current
directory. You can specify the folder with load
Once all bullets are ready, you can fire
it
require 'bullet'
Bullet(:machine => 10, :gun => 10).load('bullet.yml').use("spec/performance").aim('github').fire
github:
user:
register: 10
create_repo: 100
This will use user/register_spec.rb
and user/create_repo_spec.rb
from
specified folder i.e spec/performance
Daniel, Dao Quang Minh ([email protected])
Copyright (c) 2011 dqminh. See LICENSE.txt for further details.