News

News 2018-08-01T12:04:46+00:00

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

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

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

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

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

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