This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
 
subject: Using blitz.io for performance and load testing
 
Similar Threads
Error: ERROR initServletBean, Context initialization failed
Maven web project dependencies
Richfaces + Spring + Maven Setup help
Could not resolve dependencies for maven project
Maven dependencies