Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using for performance and load testing  RSS feed

Guilherme Hermeto
Posts: 1
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!