Friday, May 6th, 2016
I have written about other performance testing tools for web applications before. Nevertheless I’d like to demonstrate a library for load testing web applications named Gatling in combination with the build tool Maven.
Gatling offers a nice Scala DSL, high performance using Akka, Netty and asynchronous IO and plug-ins for all modern build tools.
In the following tutorial I’m going to show how to record simulations using an HTTP proxy, rewriting simulations in Scala and running and reporting simulations with Maven.
(more…)
Tags: gatling, Java, jmeter, load-test, maven, measuring, performance-test, scala, statistics, stress-test, tdd, testing
Posted in testing | No Comments »
Sunday, January 18th, 2015
When there is the need to create load tests or performance tests for an application, Apache JMeter is a handy tool and set up with ease.
In the following short tutorial I’d like to demonstrate how to configure JMeter to log into a Java EE web application with multiple users specified in a CSV file, how to generate some basic reports and how to integrate JMeter into a mavenized build using the JMeter Maven Plugin.
(more…)
Tags: assertion, authentication, benchmark, benchmarking, gatling, javaee, jmeter, listener, maven, profiling, sampler, test, testing
Posted in Java, testing | 2 Comments »
Tuesday, August 26th, 2014
There are several ways to aggregate and report application performance indicators in a Java application. One common way here is to use Java Management Extensions (JMX) and MBeans.
The Yammer Metrics Library eases this task for us and simplifies the aggregation of different reports.
In the following tutorial, we’re going to set up a full Java EE 7 web application by the help of Maven archetypes and we’re running the application on WildFly application server that is downloaded and configured completely by the WildFly Maven Plugin.
Finally our application is going to use the Java API for JSON Processing to parse lists of public repositories from the Bitbucket REST API to aggregate different reports, exported via JMX so that we’re finally able to view these reports with jconsole or jmeter.
(more…)
Tags: benchmark, bitbucket, discovery, gauge, glassfish, javaee, javaee7, jconsole, jmeter, jmx, json, jsonp, mbean, metrics, metrics-cdi, monitoring, performance, producer, wildfly, yammer
Posted in Enterprise, Java, Web | 7 Comments »