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

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

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