Gatling Advantages on Load Testing

Growing world of load testing increased both the search of new tools by users and development of new features by developers. The most known and used open-source tools in the sector are undoubtedly JMeter, and Gatling. In this blog post, we will try to explain the Gatling advantages briefly, and why to use it on your load tests. Gatling offers a wealth of features to help you develop a high-performance automation test suite by utilizing the Gatling DSL, as well as growing community support to help you with your questions. It's worth noting that, unlike other tools like JMeter, [...]

By |2021-12-01T11:40:39+03:00December 1st, 2021|Tags: , , |

Step-by-Step Explanation of Soak Testing and Spike Testing

Let's assume that you are working on a web application or an API. Let's say that you have finished all of the functional testing and even some performance tests. The product release went off without a hitch. However, after a while, your application's performance suffers, and API response times escalate. Perhaps you would wonder about what happened and go wrong. Soak testing and spike testing are two different types of performance testing that might assist you in preventing such problems. Initially, we'll look into stress testing because soak and spike testing are interrelated; later we'll look at the other types of tests in more detail, including when they're [...]

JMeter vs Apache Benchmark | Know the Top 8 Differences

There are many ways for IT experts to perform a load/benchmark test on their system. With the help of a testing tool, this process could be really easy to perform and manage. If you are looking for different performance or benchmark testing tools, you have probably come across Apache Benchmark (A/B) and Apache JMeter before. And in this article, we will be focusing on the similarities and differences between JMeter vs Apache Benchmark. As we just said, both JMeter and Apache Benchmark were developed by Apache Software Foundation. They both can be used to run performance based tests [...]

By |2021-11-16T10:21:31+03:00November 16th, 2021|Tags: , , |

How To Use “-1”/All On JMeter Selector

While scripting E-Commerce sites, situations, where cart service is not called after cart delete service, can be faced. It forces us to make only one request to cart and delete every item on cart one by one, without calling the cart request again. Let's check how to use “-1”/all on JMeter selector. Since the cart request is called only once, we have to get IDs of every item in the cart in only one selector. In this blog, you will see step by step how to overcome such situations.  You can also apply this solution to JSON and REGEX Extractors.  I want to find the right testing type [...]

By |2021-10-26T14:16:06+03:00October 26th, 2021|

JMeter vs. Locust | Choosing The Right Load Testing Tool – Part2

Let's keep going where we stayed about Jmeter and Locust . If you didn't read Part1 you can reach here. 6. Script Recording Script recording is a quick and easy method to construct a simple test template, which you can then tidy up and modify to make it easier to maintain. If you need a quick solution and need to execute a specific load depending on repeated actions, script recording comes in handy. You don't want to waste time writing a script in such a circumstance, especially if you won't need it again. If you're planning to [...]

JMeter vs. Locust | Choosing The Right Load Testing Tool – Part1

Two of the most well-known and extensively used load testing tools used by IT professionals and organizations are JMeter and Locust. We'll compare JMeter and Locust side by side in this blog, concentrating on the frameworks' most important features. We hope it proves useful in choosing which tool is appropriate for your load test case and other load testing scenarios. I want to find the right testing type for my product → I want QA experts to test my application → I'm looking for a long-term [...]

By |2021-10-26T15:50:21+03:00October 19th, 2021|Tags: , , , |

Metrics for Load Testing Checklist

In order to evaluate the performance of a mobile application, there are some metrics that you can check during the load testing process. You can take a look at the following list of load testing metrics to consider while evaluating the performance of your application: 1. Metrics for Web Servers Threads that are occupied and threads that are idle – Is there a requirement of extra web servers or is there a need to do some extra tasks? Bandwidth Necessities - Is there a bottleneck in the network that creates a problem What is your [...]

By |2021-10-07T11:32:03+03:00October 7th, 2021|

10 Suggestions for Choosing the Number of Concurrent Users for Your Test

Do you know how many virtual users should you use for your website or app performance tests? If your answer is “No”, this is the right blog post for you to read. Even if you know Apache JMeter and Gatling, they can't tell you how many concurrent users should be sending requests to the URL you're testing. This is due to the fact that the number of users to run a test is a business and product decision based on past user scenario patterns, future expectations, marketing initiatives, and product requirements. So, if you're a tester, here are a [...]

Pre-Defined Beanshell Variables in JMeter

The most essential and commonly used JMeter API classes available to BeanShell components are listed in the following section. Let's deep down pre-defined beanshell variables in JMeter and more... The following is found at the bottom of the BeanShell sampler component: For the script, the following variables are defined: "SampleResult, ResponseCode, ResponseMessage, IsSuccess, Label, FileName, ctx, vars, props, log” Sample Result It corresponds to the org.apache.jmeter.samplers class in JMeter. All of the javadoc's fields and methods may be accessed and invoked. Here's an example of a scenario: ​ getUrlAsString currentURL = SampleResult.getUrlAsString currentURL = SampleResult.getUrlAsString current () ResponseCode The [...]

By |2021-10-08T14:14:01+03:00June 30th, 2021|

How to Use JMeter’s Favorite Built-in Component: BeanShell

One of the most sophisticated JMeter built-in components is BeanShell. It understands Java syntax and adds scripting capabilities such as loose types, commands, and method closures. If your test case is unusual, and implementing it using integrated JMeter components is difficult or impossible, BeanShell might be a great way to fulfill your goals. BeanShell entities in JMeter have access to both internal JMeter APIs and any external classes loaded into the JMeter classpath (be sure to drop required jars into your JMeter installation's /lib/ext folder and insert the relevant "import" lines at the start of your BeanShell scripts). The following [...]

By |2021-06-30T15:28:03+03:00June 30th, 2021|
Go to Top