Skip to content

Instantly share code, notes, and snippets.

@moritzh
Created December 3, 2011 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moritzh/1427439 to your computer and use it in GitHub Desktop.
Save moritzh/1427439 to your computer and use it in GitHub Desktop.
Basic Warrior example for Sparta
@warrior = Sparta::Warrior.new({:provider=>'amazonec2'})
@warrior.arm(Weapon.new(:ApacheBenchmark))
@warrior.attack!('http://www.github.com/', {:concurrency=>50, numbers=>500})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment