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 [...]
Need a new search?
If you didn't find what you were looking for, try a new search!
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 [...]
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 [...]
Selenium WebDriver is an automation tool for web applications. It can operate on Chrome, Firefox, Safari, Internet Explorer and many other browsers via its driver ecosystem. JMeter, on the other hand, is a Java-based performance testing tool. They are both open source defacto tools for testing teams. In case you have your automated integration test, why not use them as a performance test script? JMeter has a WebDriver plugin to support Selenium based scripting. You can download this plugin by JMeter Plugin Manager. JMeter supports running your test via Chrome, Firefox and Internet Explorer. Therefore you need to download Chrome, [...]
A new Apache JMeter™ version 5.0 was released on September 2018 week! After the last version published in February, this version has new changes. It improved the user experience and provided many bug fixes. Most important updates include HTTP request changes, improvements for the search and the results tree. Here are the most important things provided with JMeter 5.0 version: HTTP Request Changes In previous versions, the HTTP reset only worked in SSL state. But this wasn’t a correct behavior since SSL connections use certificates that the connection made. With JMeter 5.0, if you use default HC4 Implementation, JMeter will [...]
Postman is an open source API testing tool. It can work with any given endpoint even if it’s Restful or XML based. It has an easy to use interface to make the request to the given endpoints. It offers a rich variety of features. Creating a collection from requests, extracting data from any response and storing in a variable are the least you can do with Postman. Postman supports any HTTP request type like the POST, PUT, GET, etc. Let’s see what the key features of a POSTMAN request are. Postman request consists of 5 different sections Authorization The [...]
As you all know, JMeter runs performance test scripts on Test Plans. Those test plans are structured as a parent-child hierarchy relation. You can add as many children as possible to a parent object. That brings us the scoping issue. In this article, we will present an explanation of JMeter's scoping rules. When speaking of the scope of an element, we should understand which element has access to which another element. Basically scoping works as a parent-child hierarchy. When you execute the test, samplers are executed according to their location on Test Plan tree but some elements like assertions and [...]
In case you have worked with JMeter scripts before, you must have stuck at some point and find yourself asking “How do I debug this stuff?”, “Why is my regular expression or jsonpath not working?” Actually, there are many ways to debug JMeter scripts and it’s very easy. Here are some ways to debug a JMeter script. 1.View Result Tree JMeter has various listener types. View Result Tree is the one that should be used to debug any request. It allows you to debug Jsonpath, XML or a Regular expression by its user interface. It can be added to [...]
There is a testing principle known to those close to the test community. “100% testing of a product is not possible.” Therefore, it is necessary to plan risk or prioritization based tests that are of the project’s proper economic dimension. The load test is one of them. If you want your product or the service you provide to continue to serve your customers under high demand, as designed then a load test is one of the most important items of the activities that you need to plan that can provide information on your website performance. As Loadium team, we had a [...]
In this article, we will study some of the JMeter preprocessors. If you just bump to this page, mind that there is another article JMeter Pre-processors - 1 at our blog. What we are going to cover is; Precise Throughput Timer Synchronizing Timer BeanShell Timer JSR223 Timer Poisson Random Timer Precise Throughput Timer This timer is not having any fixed amount of pause, it has variable pauses and calculated the throughput as close as possible to the given number. Although it has a precise word in the name itself, still throughput not need to be precise. For instance, if a user [...]