• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using blitz.io for performance and load testing

 
Greenhorn
Posts: 1
Python Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic