In this post, we will see how to resolve Creating a separate function to inject users in gatling Question: I have a Gatling script with the following simulation which contain a few scenarios each of the scenarios contains an injection ...

Question: I have this example from the Gatling Academy, which I modified slightly: As you can see viewCart has HttpRequestBuilder type, whereas completeCheckout has ChainBuilder type. Both of them are working, the test is passing. I don’t quite understand what ...

Question: I’m trying to send a JSON body to my API using Gatling, but I keep getting error 400 because it cannot unmarshal the body I’m sending: In the Gatling logs I can read that I’m sending this kind of ...

Question: I am using Gatling 3.6.1. I would like to attach gatling param to the request in order to force getting the value NOT from the cache. I would like it to be configurable, in a way to attach it ...

Question: I use gatling to send data to an ActiveMQ. The payload is generated in a separate method. The response should also be validated. However, how can I access the session data within the checks check(bodyString.is()) or simpleCheck(...)? I have ...

Question: I am trying to get my Gatling scala script running in Flood.io. The script uses Gatling EL and works when I am running it locally with gatling-charts-highcharts-bundle-3.7.4 But when uploaded to Flood.io I get this error in their logs: ...