This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Testing and the fly likes Using blitz.io for performance and load testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Using blitz.io for performance and load testing" Watch "Using blitz.io for performance and load testing" New topic
Author

Using blitz.io for performance and load testing

Guilherme Hermeto
Greenhorn

Joined: Aug 05, 2011
Posts: 1

Hi,

Blitz is an easy way to run load tests in applications. I wrote a java API client and a maven plugin to allow java developers to integrate blitz with their deployment cycle. The clients are open source and available in github: here (api client) and here (maven plugin). They are also both available in Maven Central.

You can add the api client in your maven project with this dependency:



Or better yet, add the plugin in your pom.xml like this:



and then run a load test with: mvn blitz:rush.

The intervals configured in the example above means that it will start sending 50 concurrent users into your app, increasing up to 250 concurrent users in 60 seconds.

You could also run a sprint test, which can determine the response time for several locations around the globe.

I would appreciate any feedback on the code or the functionality.

I hope you enjoy it,

Guilherme Hermeto
 
Don't get me started about those stupid light bulbs.
 
subject: Using blitz.io for performance and load testing
 
Similar Threads
Richfaces + Spring + Maven Setup help
Maven web project dependencies
Error: ERROR initServletBean, Context initialization failed
Could not resolve dependencies for maven project
Maven dependencies