Phantomherd
Phantomherd provides a simple way to launch multiple PhantomJS instances in parallel to run a simple load test on your site.
Installation
Install via RubyGems:
`$ gem install phantomherd`
You'll also need CasperJS, which you can install via Homebrew:
`$brew install casperjs --devel`
Usage
To run a basic load test, just supply the name of a CasperJS script to run:
`phantomherd test.coffee`
This will run the script in two parallel PhantomJS instances and report the results.
You can specify a number of samples with the -s flag, and the level of concurrency with the -c flag.
`phantomherd -c 25 -s 100 test.coffee`
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request