WHAT IS A PERCENTILE? Percentile (common measurement in statistics) splits the given sample group into 100 equal-sized intervals and this enables the data to be analyzed in terms of percentages. We can explain the usage of percentile with an example: The response time for an HTTP request below which 90% of the response time values lie, is called the 90-percentile response time. In the following graph, 90% of the requests is processed in 3.0 seconds or less: WHY DO WE USE PERCENTILES? If we speak statistically, there are a lot of methods to define just how good of an [...]
Need a new search?
If you didn't find what you were looking for, try a new search!
Even though, load testing and performance testing have different meanings in the software world, the basis is the same; to be able to fully answer the following questions. "How does the system behave under a certain load?" "What kind of infrastructure do I need within acceptable values?" "How far does this system take us with these resources?" To get these answers, you must first be able to apply similar loads and see the current behavior of the system. The next step is analysis. What Will We Analyze? The analysis part is very thorough. Because at this point, we also [...]
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, [...]
You completed your performance testing or load tests on JMeter, now you want to monitor your test results visually on a graph or a report. JMeter has more than 70 plugins (data collector sets, performance counters, listeners, etc.) for you to review or monitor your test results, with your heavy load. If you don't know which plugins to use, no need to worry! In this article, we tried to explain how to use JMeter Plugins Manager and listed the top 3 plugins for reporting. Therefore, you don't have to get lost in log file jungles anymore. JMeter Plugins Manager The first thing to start with is JMeter Plugins Manager, [...]
Even though general functionalities of JMeter cover many needs of a performance test, you might need additional scripting. Apache JMeter has the functionality to run Java code snippets during your test execution. BeanShell has access to internal JMeter features and any library located in your JMeter lib folder. BeanShell can be executed as a pre/postcondition or as a sampler. The only difference is that pre/post conditions will not be listed in JMeter Listeners. When using BeanShell, you can use “vars” variable to get and set values generated in the test context. This post will cover those functionalities. BeanShell vars.get() usage [...]
Mobile app users are demanding high performance at all times and they rarely give a second chance to an app that performs poorly. For this reason, you have to make sure to prepare your app in advance by executing a proper load testing process. To start with, here we will show you the steps you can take to record the scenario in a mobile app with JMeter. Prerequisites: First of all, you have to connect your mobile device and JMeter installed a computer on the same network. By doing so you enable your computer to be a proxy [...]
Why do you need to use custom jars in JMeter? In some cases, we need to share or pass variables between threads and thread groups in JMeter. There are a few ways to do this and using custom jars in Jmeter is one of them. At JMeter documentation: But sometimes we want to ensure synchronization between threads and thread groups. In this case, one of the best ways is to "write your own Java classes." Creating a Custom Jar Create a new java class in your favorite IDE. Our java package structure is as follows: Create the methods that you need [...]
JMeter Load & Stress testing might seem very straightforward with a little practice, but in big scale projects, things can get complicated. Test plans can be broken, it might be hard to keep the design clean, and it could become a burden for the team to maintain the flow in the long run. So designing test plan is crucial. Like most things in life, the very same rule applies for JMeter: “Simple can be harder than complex” Steve Jobs. To create a well-organized and smoothly maintainable test in the long run, in this article we will focus on JMeter Controllers [...]