JSON Path Usage for Gatling Tests

As Loadium gives support to the Gatling tool, we thought it would be great to give some tips about Gatling’s data extraction strategies. The purpose of a 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 example.