Manage Your JMeter Scripts with LoadRunner Cloud

Sinem Merve Yılmaz
KoçSistem
Published in
4 min readNov 6, 2022

Hello everyone,

Here I am going to explain here about how to manage your JMeter scripts with LoadRunner Cloud.

Apache JMeter is an open-source performance testing tool.

Also, LoadRunner Cloud is a cloud-based SaaS performance testing software tool. It’s simple, smart, scalable and avoids the need for expensive hardware for Load Generators.

If you want to learn more about performance testing, please following my previous article about performance testing.

On LoadRunner Cloud docs, they have been recommended us for using the latest supported version of JMeter to generate your scripts. Firstly, we have checked our JMeter version. Also, they have been recommended that our JMeter script only defines the steps for a single Vuser and uses a single thread group. After that, we have to check these steps:

  • Hits per second and Throughput graphs in test results are only available for JMeter scripts that use HTTP Request Sampler.
  • Upload a JMeter script to LoadRunner Cloud in .zip format.
  • Include only one .jmx file in the root folder of the .zip file.
  • If the JMeter script has dependencies on third-party plugins, you can include them in the lib/ext sub folder of the .zip file.
  • If the JMeter script has dependencies on external .jar files, you can include them in the lib sub folder of the .zip file.
  • Other dependent files, for example, a *.csv file for parametrization, and folders can be added into the .zip file.
  • When you add a JMeter script that contains multiple enabled thread groups to a load test, LoadRunner Cloud creates a duplicate script for each enabled thread group. The script name comprises <script name> (<thread group name>).
  • To report transaction data, use the JMeter Transaction Controller to enclose relevant test steps.
  • If you are running this script type with on-premises load generators, you will need to install a JDK (version 8 or later).
  • Third-party JMeter plugins related to scheduling or threads are not supported.

When reloading a JMeter script that contains multiple enabled thread groups, additions or deletions of thread groups in the script are not automatically reflected in LoadRunner Cloud. This means that for thread groups that have been added to the reloaded script, new scripts are not created for load tests in LoadRunner Cloud and for thread groups that have been removed from the reloaded script, scripts are not deleted from load tests in LoadRunner Cloud. You must add or delete such scripts manually and until you do so, a warning is displayed for the relevant load test and the Run Test button is disabled.

Create a New Test Scenario with Your JMeter Script

Firstly, let’s we add our JMeter script on LoadRunner Cloud.

We upload our JMeter script (.zip file) on Assets area.

After that, we go back to the Home area and create a new test case.

Then, we go to the Scripts area and add our JMeter script to the test by pressing the + button.

Finally, after entering the Vusers, Start time, Ramp up, Duration, Tear down informations, we run our test script from the “Run Test” button.

Congratulations, our test script is ready! Now we can see the results in Results area…

In addition, if you want to examine the detailed report, you can access the Dashboard and Reports outputs from the Runs tab by clicking on the test result you want to examine.

In this post, we learned that how we will manage our JMeter scripts with LoadRunner Cloud. See you in my next post :)

References:

Cloud Load Testing | Cloud Performance Testing | Micro Focus

Introducing LoadRunner Cloud (microfocus.com)

Apache JMeter — User’s Manual: Component Reference

--

--