Performance Testing Behind Firewall: On-Premise Load Testing

Load testing and Performance testing are important for discovering bottlenecks in your system and determining the load capacity it can handle. Most of the time, it is necessary to carry out these tests behind the firewall of companies for data privacy and security. Loadium provides On-Premise Load Generator solution to run performance testing behind firewall. What is On-Premise Load Generator? Our service that creates the load on the servers in your tests with Loadium is called Load Generator. In standard tests, Load Generator is located on Loadium servers. It runs the tests in its environment and creates [...]

By |2021-05-25T13:37:58+03:00May 25th, 2021|Tags: , , |

Functional Testing with Loadium & Apache JMeter

Functional Testing Functional Software Testing is the technique used to test the features and functionality of a system or software. Functional testing aims to answer questions like "can the user do this?" or "does this feature work?". After this brief definition, let's answer questions such as; “What is a functional test with JMeter?”, how it can be done effectively. Functional test sample with JMeter Functions to be tested.Github.com's home page and login page. In order to prepare a test scenario in JMeter, we must first test the scenario in a Web Browser, capture the requests made with our browser's developer [...]

Websocket with Apache JMeter

It's apparent that the usage of Websocket has expanded greatly in recent years, and its reliability is expected to be high since it mostly carries crucial information to clients. Hence, testing their durability and reliability has become more important. It is possible to execute performance tests on Websockets with Apache JMeter by using "Websocket Samplers" plugin developed by Peter Doornbosch. Websocket Samplers Plugin Let’s take a look at the plugin first. You can find the plugin here: https://jmeter-plugins.org/?search=websocket-samplers Once you install the plugin, you will get 7 new Sampler elements: Websocket Close Closes the current Websocket connection Websocket Open Connection [...]

By |2020-11-02T16:30:52+03:00October 14th, 2020|Tags: , , , , |

Handling Error Messages of JMeter Tests in Loadium

Errors found during testing is a part of the process, tests are done to find them after all. After finding an error, understanding its reason is crucial. Some errors are easy to understand and recognize if they reveal themselves clearly, but sometimes errors are hard to detect and if their reason isn’t clear it might even lead to more confusing results. There might be several reasons for an error to occur. It could be due to a logical error in the script, or while the script is doing its work properly, server might mess up when processing it. JMeter has [...]

How to Add a Variable Number of Parameters in Apache JMeter

Some requests have more than one parameter, and the number of parameters may change. You can also add dynamic parameters according to your scenario. To resolve this issue, we need to use JSR223 PreProcessor provided by JMeter. First, we add an HTTP request as shown below, then we delete all the parameters and add JSR223 PreProcessor. In this example, we choose the groovy language. Then we add a for loop to determine how many parameters we will add, and add the parameter insert code to use it inside the for a loop. When we run the test, we add any [...]

In-depth Analysis: Throughput Controller in JMeter and Splitting Threads to Requests

What is throughput? Throughput, essentially, is the number of requests executed per unit of time. It is one of the basic concepts of performance testing. Since the main subject here is "performance", a term that features a measurement of "per unit of time" makes it an important one. In performance tests, there will be a lot of requests going on in a short period of time in order to apply necessary stress to the desired servers. However, not every server in a system has an equal priority or necessity to apply stress. One of the servers might be called more [...]

Local Network Simulation On JMeter

Network Speeds Simulation in JMeter For almost three years, mobile had overtaken desktop traffic. It seems that this trend will continue to rise. But does it change in our lives? That means that our users are on the move. They are not sitting in their comfortable chairs and take benefit of great DSL network speeds. In most cases, mobile device users access the internet via their cellular operator network. The speed, reliability varies depending on the location of the user. You’ll realize that it’s always changing. That means speed varies mostly during the day. So we need to make sure [...]

By |2021-05-07T20:07:48+03:00February 14th, 2019|Tags: , , |

JMeter Distributed Testing Step-by-step

This short tutorial explains how to use multiple systems to perform stress testing. Before we start, there are a couple of things to check. The firewalls on the systems are turned off. All the clients are on the same subnet. The server is in the same subnet, if 192.x.x.x or 10.x.x.x ip addresses are used. If the server doesn't use 192 or 10 ip address, there shouldn't be any problems. Make sure JMeter can access the server. Make sure you use the same version of JMeter on all the systems. Mixing versions may not work correctly. Once you've made sure [...]

By |2021-01-22T13:37:06+03:00January 24th, 2019|Tags: , , , |

JSON Path Usage for Gatling Tests

As Loadium gives support to Gatling tool, we thought it would be great to give some tips about Gatling’s data extraction strategies. The purpose of Gatling test is not different than Apache JMeter test, and that is performing a load test on your application. For a realistic performance test, you need to use dynamic data. To overcome this challenge, you need to extract data from a JSON, XML or HTML file. Let’s take a look at jsonpath expression usage with some examples. How to Extract Data with JSONPATH We are going to use JSON Placeholder web services for JSON Path [...]

By |2021-04-22T15:42:21+03:00January 23rd, 2019|Tags: , , , , |

Record and Play Load Testing in 5 Steps

While Apache JMeter allows you to create a load test from scratch, it also gives you the opportunity to Record and Playback load test scenarios for your web or mobile applications. Recording performance test scenarios are very useful when it comes to web or mobile testing. Websites and mobile applications make many requests varying from initial server to 3rd party application like analytics sites etc. Therefore implementing those requests from scratch may not be the best idea. In those cases, we recommend you to use the Recording module of JMeter. JMeter has a special module for that purpose. It’s called [...]

By |2020-11-17T16:08:05+03:00January 4th, 2019|Tags: , , , |
Go to Top