JMeter Plugin to load test API and Web

JMeter Plugin to load test API and Web.

Hi @Katalon_Store @katalon_store_suppor @Trong_Bui

I found the below project Katalon JMeter Sample… Is it still in WIP . Could you please provide details how to use it.

Hello everyone,

Currently, you can integrate Katalon Studio with JMeter via the JMeter Integration plugin which is free. Alternatively, you can manually integrate those two tools yourself by following this guide.

Cheers

Jass

Hello,

do you have some documentation for this plugin or a demo project?

Hi

Please try reading this document to see if it’s what you need:

Jass

1 Like

hey jass, could you please suggest what to do in step
Run the following command to download Jmeter dependencies: **gradle katalonCopyDependencies** .

Hi @hina-amir

You just need to open the terminal/console at the project folder and then type in gradle katalonCopyDependencies.

1 Like

got this
@ThanhTo


C:\Users\hina.amir\Katalon Studio\test_jmeter>gradle katalonCopyDependencies

FAILURE: Build failed with an exception.

  • What went wrong:
    Task ‘katalonCopyDependencies’ not found in root project ‘test_jmeter’.

  • Try:
    Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 745ms
<-------------> 0% WAITING

Should we add some code in build.gradle?
also should we follow same steps for mac OS?

Hi there,

Your gradle file must look something like this:

1 Like

Hello Jass,
I have installed Jmeter Integration plugin but while reloading in Katalon studio it is not visible. Can you please help if I am missing something. I am using Katalon Studio version 7.6.2.

Also while manually installing via gradle on typing command gradle kataloncopydependencies I am getting following error:-

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.1/userguide/command_line_interface.html#sec:command_line_warnings

Related?

This issue has nothing to do with the jMeter plugin. The build.gradle file of the katalon-jmeter-sample project needs to be modified a little.

I cloned the katalon-jmeter-sample project, and executed the following:

$ cd katalon-jmeter-sample
$ gradle build --warning-mode all

> Configure project :
The compile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the implementation configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.4.1/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
        at build_79fhr6o736cq759wswes3mgdp$_run_closure3.doCall(/Users/xxxx/xxxxx/katalon-jmeter-sample/build.gradle:15)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.) 

The message tells us we need to rewrite : compile → implementation

So,

dependencies {
    compile group: 'org.apache.jmeter', name: 'ApacheJMeter_core', version: '5.0'

this should be modified to

dependencies {
    implementation group: 'org.apache.jmeter', name: 'ApacheJMeter_core', version: '5.0'

Then the warning message will disappear.

That’s all

==> @Thong

Hello Jass,
Can you please help why Jmeter plugin is not loading in KAtalon Studio although it has been installed.

In the https://store.katalon.com/product/139/JMeter-Integration/change-logs page, I found a comment:

Discontinued support of this plugin in version 7.0

Perhaps users should no longer use the jMeter plugin.

But users can still use JMeter integrated in Katalon Studio. Users can try the instruction in the official document “Manually Integrate JMeter with Katalon Studio”.