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 [...]
Need a new search?
If you didn't find what you were looking for, try a new search!
It is a common practice to create performance test scripts by using JMeter GUI. For test execution, however, it would be best to use command line mode of JMeter. So whenever you need to change a parameter like thread number, base url, etc.. you need to go to GUI mode, do some modifications and run your test. We can't call that a good practice. JMeter lets you pass parameters in command line mode. How to Pass Argument via Command Line Basic command line parameter is jmeter -n -t your_script.jmx -n - tells JMeter to run in non-GUI mode -t - specifies [...]
To suggest that the Black Friday and Cyber Monday events in 2021 will be outstanding for e-commerce firms is an understatement. Signals indicated in that direction even before COVID-19's technological and economic impacts were evident. So eCommerce sites load testing is crucial action. A lot has changed dramatically since the pandemic began, especially since the virus pushed the majority of the globe online. Given the uncertain environment, predicting what to expect in terms of Christmas shopping in 2021 is like to solving a conundrum without all the parts. Many businesses will begin advertising online purchases and attractive offers sooner than [...]
Load test and performance test allow you to see the status of your services and the bottlenecks of these services, if any. In addition, Application Performance Management Tools (APM) provide you with database operations in your services, response times of your APIs, etc. along with many parameters where you are having trouble in details. At Loadium, we offer the support of New Relic and AppDynamics APM tools. WHAT IS THE APPLICATION PERFORMANCE MANAGEMENT? APM enables business-critical applications to monitor performance metrics, receive timely alerts in case of performance issues, and generate reports for periodic performance analysis. In this way, it facilitates the [...]
There are many different testing techniques you can apply to your application under test (AUT). Some tests are categorized under functional tests whereas some of them are classified as non-functional tests. Load Testing is one of the most important non-functional testing disciplines. There are many names defining that activity, some call it “Load Testing”, some call it “Stress Testing”. While they all have different approaches while executing the tests, the general purpose is mostly the same. They aim to define how the software application behaves under specific load simultaneously or a continuous amount of time. By doing so we find the bottlenecks of [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]