Blog

New Release! Integration between JMeter DSL and Azure Load Testing

We have released a new feature in JMeter DSL that significantly simplifies the use of Azure Load Testing when scaling tests. This allows performance tests developed with JMeter DSL to be run on Azure Load Testing, complementing the existing integrations with BlazeMeter and OctoPerf.

We have launched an integration between JMeter DSL and Azure Load Testing! This new JMeter DSL functionality leverages the full power of Azure Load Testing to scale the load in the Azure cloud and analyze test results.

The intention of this release is to unite the Azure, JMeter, and JMeter DSL communities. It aims to share knowledge, enhance the development of associated tools, and facilitate their integrated use by different communities.

The Azure community now has a fresh way to use Azure Load Testing. It takes advantage of all the benefits of JMeter DSL, like shift-left testing, versioning, and better collaboration between developers and performance testers.

On the other hand, the JMeter DSL community now has a new alternative to easily scale their tests on Azure Load Testing, while the JMeter community can benefit from both Azure and JMeter DSL.

What Does The Integration Entail?

We have developed a new module that significantly simplifies the use of Azure Load Testing when scaling tests using JMeter DSL.

By adding a Maven dependency to an existing project and using the provided engine with the appropriate credentials, this integration allows you to switch from running local tests to doing so on Azure Load Testing with the number of generating instances needed.

This can be executed anywhere in the world and with all the functionalities that Azure Load Testing already provides, such as result history and reports.

To start using the JMeter DSL integration with Azure Load Testing, you need an Azure account. You also need to register an application with the appropriate permissions on Azure Load Testing and suitable credentials. You can find all the details on how to do this in this link.

Additionally, you need to add the jmeter-java-dsl-azure dependency to your project. Use AzureEngine as the execution engine for the JMeter DSL tests you develop.

Example of how to use this engine with JMeter DSL.

What Inspired Us to Do It

We released the first version of JMeter DSL in August 2020. Our goal was to facilitate the use of JMeter through code and add new features. Since then, as an open-source tool, we have greatly improved it thanks to our ongoing work and collaborations. Especially from users on the GitHub repository.

At Abstracta, we work daily towards continuous improvement. As part of this journey, we seek to make the use of JMeter DSL accessible to more and more people and communities. That is why we always try to provide more options when it comes to running tests in a scalable way.

To achieve this, we encourage those who use JMeter DSL to collaborate by requesting improvements or providing ideas for new features. Users have already asked us several questions about integration with Azure. Here’s a very interesting one.

We are aware of the growing use and promotion of JMeter by the Microsoft community, particularly of Azure itself, with the release of Azure Load Testing. That’s why we recently reached out to the Azure Load Testing team with this idea, and they expressed great interest in the development.

How We Developed the Integration

To meet our objectives, we relied on the Azure Load Testing team. They demonstrated great commitment to the development from the very beginning. Not only did they assist us with documentation, examples of existing integrations, and addressing doubts, but they also provided improvement ideas for optimizing the existing implementation.

Furthermore, the tool’s features have been essential in enabling efficient development. The Azure Load Testing API is highly intuitive, providing the expected behavior and functionalities.

As we mentioned in this article, Abstracta recently joined Microsoft as a partner. This partnership aims to drive innovation and improve our technological solutions. Since then, we’ve begun exploring and experimenting in all our areas. The development of the integration we’re announcing is a part of the collaborations we’re undertaking to strengthen our alliance.

Before this integration with Azure Load Testing, JMeter DSL already provided ways to run tests at scale. They could do this with BlazeMeter, OctoPerf, and potentially with a custom cluster of JMeter instances. AzureEngine adds a new option when choosing where to scale these tests and makes it easier for Azure users to use JMeter DSL.

We believe this integration will help the existing Azure Load Testing community. It will introduce the benefits of using JMeter through JMeter DSL. JMeter DSL users will also benefit. They will now be able to enjoy all the benefits of using Azure Load Testing to scale their tests.

Would you like to learn more about JMeter DSL? You can find more information on our blog. You can also click here to learn all about its benefits.

We recommend you review our releases, the repository of changes, and the discord channel to join the community. 

Access our User Guide and clear all your doubts about JMeter DSL!

Follow us on Linkedin & Twitter to be part of our community!

359 / 462

Leave a Reply

Required fields are marked