Table of contents
1.
Introduction
2.
JMeter Integration
3.
Applitools Integration
3.1.
Configure Applitools Integration
4.
Applitools Functions in Recording
5.
Frequently Asked Questions
5.1.
Can we use Applitools functions in Script mode?
5.2.
Explain the working of waiting keywords.
5.3.
What is the use of TestOps in Katalon?
6.
Conclusion
Last Updated: Mar 27, 2024

JMeter Integration and Applitools Integration in Katalon Studio

Author Lokesh Sharma
1 upvote
Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

Introduction

Hi ninja! Welcome to another exciting blog by coding ninjas. We hope you are doing fine. In this article, we will discuss the integration of JMeter and Applitools in Katalon Studio.

The Apache JMeter provides excellent API and Web service testing.  Applitools is a visual testing and monitoring tool based on artificial intelligence. Both of these plugins are handy testing tools. Let us consider both these tools one by one.

JMeter Integration and Applitools Integration in Katalon Studio

JMeter Integration

The Apache JMeter provides excellent API and Web service testing. We can integrate it into Katalon using two simple ways.

  • The first method is to install the JMeter integration plugin from the Katalon Store.
     
  • We can also integrate JMeter manually. 

 

Follow these steps to install the JMeter integration plugin.

Step 1: Go to the Katalon Store and search for the JMeter integration plugin.

Step 2: Now, click the JMeter thumbnail. A product details page will appear. Click Install and then again click Accept and Install in the dialog box.

Step 3: Your plugin will start to install. After the installation is complete, go back to the Katalon Studio and reload the plugins.

Follow the below steps to link JMeter with Katalon manually.

Step 1: The first step is to install Gradle. It is a popular build management tool that you can install from its official site.

Step 2: The second step involves the pulling of JMeter dependency. We do it in two steps.

  1. First create a build file in your project: build.gradle.
     
  2. Now download the JMeter dependencies by running the following command. gradle katalonCopyDependencies.
     

Step 3: Now extract the JMeter bin folder in the include directory of your Katalon project. We will now create our JMeter runner.

Step 4: Go to Include > scripts > groovy. Create the JMeterRunner and KatalonSamplerClient files inside groovy. These files will run the test cases and return results.

Congratulations! You have successfully linked JMeter with Katalon.

Must Read Apache Server

Applitools Integration

We have learned to integrate JMeter in Katalon. Let us now learn to link Applitools with the same. Applitools is a visual testing and monitoring tool based on artificial intelligence.

Configure Applitools Integration

Follow the below steps to link Applitools with Katalon. 

Step 1: Open your project in Katalon. Go to SettingsPluginsApplitools Integration.

You will find five fields that you must fill in correctly. Let’s look at each of these fields.

Step 2: The first field is Server URL, which demands Applitools’s server URL. This URL is required to integrate with Katalon Studio. 

Step 3: The second field is the API key field. Provide your Applitools API Key in this field.

Step 4: Application Name: It is the name of your application present in Applitools. 

Step 5: Match Level: Enter the match level in Applitools. These are the values that define various types of image matching.

Step 6: Visual Grid View Port: It is the list of viewports. This list includes the height and width of the Applitools visual grid. If we leave this field empty, then Katalon uses the browser viewport at testing.

Applitools Functions in Recording

Applitools provides two essential functions in its BasicKeywords class which we use to record test cases.

The first function is the checkWindow function. This function compares the image of the entire browser when called. It uses the images in the latest execution for comparison. It takes a unique string as input which it uses as an identifier to compare pictures.

The second function is the checkTestObject function. This function takes a test object as a parameter along with the unique string. It compares the image of a particular test object rather than the whole browser. 

Frequently Asked Questions

Can we use Applitools functions in Script mode?

Yes, you can use Applitools functions in Script mode. Applitools provides a set of functions in its EyesKeywords and AdvancedKeywords classes that can be used in script mode.

Explain the working of waiting keywords.

When a particular condition is not met, Katalon returns a boolean result (true or false) and a warning message. Therefore, Katalon continues to run even after a test fails. This is the significance of waiting keywords.

What is the use of TestOps in Katalon?

Katalon TestOps is used to provide reports and dashboards on the quality status of the product. It allows you to coordinate various cycles, activities, and frameworks while testing.

Conclusion

Hey ninja, we hope you enjoyed reading this article. We started our discussion with how to Integrate JMeter in Katalon. We also discussed how to integrate Applitools in Katalon. We believe you can now integrate JMeter and Applitools in Katalon Studio.

If you wish to learn more about Katalon and its various testing divisions, you can refer to blogs on 

 

Do visit our website to read more such blogs. Make sure you enroll in our courses. You can take mock testssolve problems, and interview puzzles. Also, you can check out some exciting interview stuff- interview experiences and an interview bundle for placement preparations. Do upvote our blog to help fellow ninjas grow.

Keep Grinding! 🦾

Happy Coding! 💻

 

 

Live masterclass