Sponsored Link
Salenda | Atlassian Gold Solution Partner
If you want to work with Atlassian produts, choosing Salenda as your partner is the way to go. They will provide you not just better prices than if you go directly to Atlassian but the next services around Atlassian products:
- Consultancy and customization
- Hosting
- Integrations
- Migrations
- Development
- Support
- Licenses
If you want to integrate Atlassian products with other Java-based applications (including Spring, Grails and Micronaut), they will do that too.
Listen to @alberto_deavila in Groovy Calamari Podcast 005 - 15:03 to learn more about their Atlassian expertise.
By the way, Salenda celebrates today 12 years. 🎂 Happy birthday.
Micronaut
Micronaut Gatling sample app
I put what I learned together in this sample app.
Run ./gradlew gatlingRun
to see it in action.
Micronaut Security Webinar
I've worked a lot in the security part of Micronaut and I believe we have several good options. Please, join me to understand the options at your disposal.
👨🏼🏫Yours truly.
📅Wednesday, March 20, 2019.
⏳10:00 a.m. to 11:00 a.m. CDT
📍Online.
💰 Free.
Gradle
How to use Gradle and Gatling to automate the load tests of a Spring Boot web service
This is a comprehensive tutorial that explains how to automate the load tests of a Spring Boot based RESTful Web Service using Gatling together with Gradle. You will learn how to combine all the above tools and automate the load testing by defining tasks which can become part of a CI/CD build pipeline.
Although, this does tutorial does not use any Gatlin Gradle plugin, I learned a couple of tricks. Specially the use of gradle-process. More below.
Gradle Processes Plugin
This Gradle plugin provides the capability to create forked processes from a Gradle build. It's primary goal is to bolster the built in capabilities of Gradle which allow for processing forking only in a synchronous manner.
Let me give you an example:
task startMicronaut(type: JavaFork) {
classpath = sourceSets.main.runtimeClasspath
main = 'example.micronaut.Application'
}
startMicronaut.dependsOn assemble
task stopMicronaut {
doLast {
startMicronaut.processHandle.abort()
}
}
Tools
Gatling Load and Performance testing
I am currently working on a project and we want to create some load tests. It seems Gatlin is the JVM open source solution leading that space:
Gatling helps you anticipate slow response times and crashes .
- DON’T CRASH: Gatling helps you anticipate slow response times and crashes .
IMPROVE TIME-TO-MARKET: Gatling detects performances issues and errors early in your development cycle .
ENHANCE USERS’ EXPERIENCE: Gatling gives an accurate picture of your slowest users’ experience .
BOOST YOUR BUSINESS Gatling prevents your business becoming victim of its own success .
Comment
In this issue, I adventure in the waters of load testing with Gatling.
Sergio del Amo