File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes Using for performance and load testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Using for performance and load testing" Watch "Using for performance and load testing" New topic

Using for performance and load testing

Guilherme Hermeto

Joined: Aug 05, 2011
Posts: 1


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
I agree. Here's the link:
subject: Using for performance and load testing
It's not a secret anymore!