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: , , , |

What is Application Performance Monitoring?

Application performance management is the real time monitoring and management of performance and user experience of software applications. Speed is everything in today’s connected world. Especially when it comes to the applications and websites accessed by end users, it’s much more crucial. Users are not tolerant to slowness. They tend to abandon the application and move on to a similar app if it’s possible. So it will have a huge negative impact on business productivity, profits and even the brand itself. To be successful, velocity and stability should be in balance. IT disaster reports states that stability varies significantly between [...]

By | 2018-12-04T21:17:19+00:00 December 4th, 2018|Tags: , , , |

What’s New in JMeter 5?

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 [...]

By | 2018-11-30T13:45:18+00:00 November 30th, 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: , , , |

Scopes in JMeter

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 [...]

By | 2018-11-14T12:39:00+00:00 November 14th, 2018|Tags: , , , |

Regular Expression Tutorial for Apache JMeter Tests

A regular expression is a special text string for describing a search pattern. Regular expressions have a reputation for being tough, but that all depends on how you approach them. You can start from expressions as simple as this: \d which helps you identify a character that matches any digit from 0 to 9, to something complex, like: ^(\(\d{3}\)|^\d{3}[.-]?)?\d{3}[.-]?\d{4}$ While testing web applications, you need to extract information from HTML, JSON or XML response body or validate fields. You can always use CSS Selectors or JSON/XML Extractors. Besides those using regular expressions in JMeter is very powerful. JMeter’s Regular Expression [...]

By | 2018-11-12T14:27:52+00:00 November 12th, 2018|Tags: , , , |

3 Ways of Debugging JMeter Scripts

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 your [...]

By | 2018-11-05T23:21:33+00:00 November 5th, 2018|Tags: , |

How to Make Validation on RESTful Web Service Performance Test

Hello, Representational State Transfer (REST) is an architectural style that pre-defines a set of constraints to be used for creating web services. Web services that use REST architectural style, or RESTful web services, provide interoperability between any system on the internet. Nowadays many development teams are switching to restful APIs to simplify client and server communication. That’s why performance or stress testing of that web service is crucial. By following this tutorial, you will be able to validate how many concurrent users your application’s server-side component can handle. Apache JMeter is strong when it comes to assertions. You can assert [...]

By | 2018-11-02T18:21:26+00:00 November 2nd, 2018|Tags: , , , , |

Built-in JMeter Functions

JMeter allows you to conduct performance tests on your application by using any type of request. During these tests, we sometimes need to create new data, timestamp or maybe manipulate a response. For these purposes, JMeter provides built-in functions easily adaptable to your tests. Let’s explore the ones that you might need during a test. Random String In order to create a random string in JMeter there are a few different ways. Examples: ${__RandomString(5)} This will create a random string, It can be readable or not. ${__RandomString(5,ABCD123)} This will create a random string containing only the alphanumeric values that you provide. [...]

By | 2018-11-01T18:39:23+00:00 November 1st, 2018|Tags: , , |

Simulating User Funnels with Different Percentages in Apache JMeter

Funnel analysis tells your user’s journey with its events that lead towards a goal. You can think about it as the engagement of a user in a mobile app till the actual purchase. The funnel analyses are an effective way to calculate conversion rates of specific user behaviors. During a performance test project, you will be asked to simulate your customers journey with some specific numbers. Most common situation that we encounter with this kind of requests are Black Friday or Cyber Monday campaigns. A funnel might be like the below example: %100 of the users land on the main [...]

By | 2018-10-25T17:11:04+00:00 October 25th, 2018|Tags: , , , |