In this article, firstly we will learn how to install JMeter and how to run our scripts that we created with Jmeter on Loadium.

Jmeter is the most used testing tool for doing performance testing of web based applications. It’s completely open source tool and based on Java language. That’s why we have to download Java to our computer first. We can use this link for downloading Java.

There is one thing to do before download the Jmeter. We have to configure the path of Java on our computer.

After that, we can download Jmeter. It’s pretty simple. We will use this link for that. There is two option to download. We will download the Binaries.

1.jmeter

After we download that, we will extract the zip file and move it to where ever we want on our computer. To open Jmeter, we will follow the apache-jmeter-5.1.1\bin path and click to ApacheJmeter.jar file.

There is one last thing to do before creating our script. In order to access the APIs of the application we have chosen, we need to configure the certificate security settings and also we have to set our browser’s proxy settings. 

We will use Mozilla Firefox for that because configuring certificate settings is much more easier than the other browsers.

We have to reach the network settings by following this path. 

Open Application Menu –> Settings –> Network Settings –> Settings

On the page that opens we must select  “Manual proxy configuration” option and fill the fields as shown.

After that, we can select SOCKS v5 option.

Then, setting the proxy settings properly, it’s time to set the certificate settings. For that, we have to create a Jmeter Certificate first. Then, we will use the recording feature of Jmeter for this.

4.jmeter

After performing the operations, we firstly must  enable HTTP(S) Test Script Recorder. Shortcut of it’s Control + T. Then, we are going to press the start button on the Recorder and afterward we can stop the Recorder. With this, JMeter will have created a valid certificate for us in 7 days.  

In order to record APIs, we need to add this certificate to the browser we will use. In this case, we will use Mozilla Firefox.

We have to reach the certificate menu by following this way.

Open Application Menu –>  Settings –> Privacy & Security –> View Certificates –> Import

We select the certificate file in the JMeter bin file from the opened window.

After adding the certificate, we have to click on both boxes from the window that opens and then we are ready to record.

In the second part of this blog series, an example scenario will be explained in detailed.

Keep reading Loadium Blogs…