Created
April 22, 2011 17:35
-
-
Save kowsik/937179 to your computer and use it in GitHub Desktop.
Using blitz.io and Tropo for scheduled load tests and alerting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Try running a Rush (load test) from california | |
opts = { | |
:region => 'california', | |
:url => 'http://www.mudynamics.com', | |
:pattern => [{ :start => 1, :end => 10000, :duration => 120 }] | |
} | |
result = Blitz::Curl::Rush.execute(opts) | |
last = result.timeline.last | |
if last.errors or last.timeouts | |
# Do something about this! | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment