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 | 2019-02-14T15:43:21+00:00 February 14th, 2019|Tags: , , |

How to Use RegEx Extractor in Gatling Projects?

Regular expressions are very powerful with string manipulation. It’s fast and flexible but a little bit hard to learn. To be able to extract a data in performance test projects, the regular expression is a good fit. Gatling supports Regular Expression usage for data extraction. Let’s see how we can integrate this approach into our Gatling projects. How to Extract RegEx in Gatling Script? For this example, we are going to use an XML web service hosted on www.dneonline.com There is a calculator web service where you can do addition, multiplication, division and multiplication operations. Execute POST Command First, we [...]

By | 2019-01-29T15:45:32+00:00 January 29th, 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 | 2019-01-24T20:01:41+00:00 January 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 | 2019-01-23T15:11:17+00:00 January 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 | 2019-01-04T16:30:41+00:00 January 4th, 2019|Tags: , , , |

5 Steps to Create a Realistic Load Test!

Functional testing and non-functional testing of an application are slightly different from each other. In terms of ISTQB, functional testing has structured tests scenarios. But when it comes to non-functional ones, we have performance testing and usability testing where the user’s perspective comes into play. Then we have uncertainty as stated below: QA Engineer walks into a bar. Orders a beer. Orders 0 beers. Orders 999999999 beers. Orders a lizard. Orders -1 beer. Orders a sfdeljknesv. But the First customer comes in and asks where the toilet is? The bar bursts into flames and the customer kills everyone. We all [...]

By | 2018-12-20T16:33:49+00:00 December 20th, 2018|Tags: , |

JMeter Timers

Why Do I Need a Timer in JMeter? User behavior in load tests depends on many factors. Those factors can be “ramp-up time”, “user count on the system in a specific time interval”, etc. and most of them rely on timing. The time between user actions defines the realism of the scenario. That’s why JMeter offers various Timer for you to use in your performance test projects. By default, JMeter executes all samplers one after another. There is no delay between sampler’s execution. This makes our tests non-realistic because no user goes into a page and clicks to a link, [...]

By | 2018-12-19T17:09:46+00:00 December 19th, 2018|Tags: , , , |

Performance Testing Terminology

Performance testing is the process of determining the speed, responsiveness, and stability of a computer, network, software program or a device under a workload. In order to conduct and analyze a good load test, you need to understand the performance testing terminology including connect time, latency, etc... Let’s elaborate on what they mean. Connect Time Connect time is the time taken to establish a TCP connection between the server and the client. TCP/IP model guarantees delivery of data by its nature by using TCP Handshake. If TCP Handshake is successful, then the client can send further requests. That data send/receive [...]

By | 2018-12-13T11:19:57+00:00 December 12th, 2018|Tags: , |

Let Measure Performance with Gatling

There are many open source tools and paid solutions to perform the load tests efficiently.  As Loadium until now, we supported Apache JMeter and Selenium-based tests for load testing. Gatling, a load test tool, is on the market for a few years and it’s a mature performance test tool to use.  In the near future, we are going to support Gatling tests. Let’s discuss the pros and cons of Gatling together. If you want to add more please feel free to add comments below or shoot us a message through our contact page. First, it is an open source load [...]

By | 2018-12-06T20:12:53+00:00 December 5th, 2018|Tags: , , , |

4 Things You Should Know About HTTP Requests

In order to perform a good performance test on the HTTP protocol, there is something that you should know about it. Let’s start! What is an HTTP request? The Hypertext Transfer Protocol is an application-level protocol for distributed, hypermedia information systems. This is the foundation for data communication for the World Wide Web since 1990. It is a generic and stateless protocol which can be used for other purposes as well as using extensions of its request methods, error codes, and headers. What makes HTTP a simple but powerful protocol? Here are some examples HTTP is connectionless: The HTTP client, [...]

By | 2018-11-27T13:01:08+00:00 November 27th, 2018|Tags: , , , |