gatling Questions

5

I am trying to perform a load testing with gradle-gattling, below are my build.gradle and my BasicSimulation.scala plugins { id "com.github.lkishalmi.gatling" version "3.0.2" } repositories { ma...
Saith asked 30/8, 2019 at 11:16

3

I have a JSON file that contains a JSON Array test.json [ { "Name": "Bob" }, { "Age": "37" }, { "DOB": "12/01/1985"} ] I would like to test each respective element in the JSON array against ...
Littlest asked 5/9, 2018 at 14:27

3

Solved

I am developing a messaging application using Spring REST, Websocket/STOMP and RabbitMQ. We use are using gatling for load/stress testing the REST end points of the application. However, we would l...

1

A legacy app has the below working Gatling test private val getUserByTuid = scenario("GetActiveUserInfoWrapper") .feed(users.toArray.circular) .exec( http("GET /v1/foo/{id}") .get("/v1/foo/${i...
Hymanhymen asked 14/6, 2018 at 23:53

2

Solved

I need to create a random positive integer each time and send it to Json body in Gatling. I used the below code to create a random positive ineger: val r = new scala.util.Random; val OrderRef = r...
Surfboarding asked 7/3, 2016 at 12:8

7

Solved

I am new to Gatling (2.1.2) and want to do a small prototype project to show to my colleagues. According to the quick start page, there are several ways I can run a simulation with Gatling: deco...
Nazareth asked 11/1, 2015 at 23:43

2

Solved

The only global custom text on Gatling report is Simulation class name. It appears in the upper right corner of the report. How can I put some custom message (short) without changing the name of t...
Worked asked 6/4, 2016 at 17:47

2

I have a scenario that, with the help of a CSV file containing usernames and passwords, obtains session Ids and saves them using saveAs. I want to be able to use those session IDs in a following ...
Georgiegeorgina asked 29/1, 2015 at 14:54

1

Solved

I'm new to Gatling, apologies if this is a complete noob question. The "Details" tab of my Gatling report looks like this: The left-hand menu contains all the requests that were made. My proble...
Brawny asked 4/10, 2016 at 8:37

2

Solved

I'm trying to create a Gatling scenario which requires switching the protocol to a different host during the test. The user journey is https://example.com/page1 https://example.com/page2 https://a...
Radmilla asked 4/4, 2016 at 12:45

5

Solved

I’ve been having issues lately because my dependencies has been updated to use netty 4.1 and Gatling has not been updated for a while, and still work only on Netty 4.0. Anybody knows any al...
Leone asked 11/11, 2017 at 17:2

2

Solved

Documented here, Gatling's checkIf method is intended for conditional checking. It's not available on ScenarioBuilder's fluent API but I can see it in the CheckSupport class. I have scoured the int...
Yugoslav asked 13/7, 2018 at 15:54

4

I have two json files, one is expected json and the another one is the result of GET API call. I need to compare and find out the mismatch in the file. Expected Json: { "array": [ 1, 2, 3 ],...
Natale asked 6/12, 2017 at 11:8

6

I'm a fresh newbie to Gatling. I'm trying to send a POST message to an HTTP API using Gatling. I tried the following: package app.basic import io.gatling.core.Predef._ import io.gatling.http.Prede...
Lethargy asked 10/10, 2014 at 1:6

6

I would like to see what is in the body of the post that I am sending in my script. In fact, I would like to see the request, request body and response. From looking at the docs and the forums, I s...
Now asked 23/10, 2015 at 1:46

4

Solved

A Gatling scenario with an exec chain. After a request, returned data is saved. Later it's processed and depending on the processing result, it should either fail or pass the test. This seems like...
Preempt asked 2/9, 2014 at 11:36

2

Solved

When I run code like: setUp( scenario1.inject(constantUsersPerSec(1) during (1 second)), scenario2.inject(constantUsersPerSec(1) during (1 second)) ).protocol() Both scenarios are started at o...
Serrato asked 26/1, 2017 at 13:54

5

Solved

I'm trying to modularise a series of performance tests in Gatling. Several of the tests execute the same initial path through the pages, so I thought that I could break them down into a series of ...
Blinkers asked 22/3, 2013 at 10:39

2

Solved

In order to populate a system with data en masse before running performance scripts, our ideal use-case would be to do so with Gatling. Data need not be different, beyond having a unique Primary ID...
Anthotaxy asked 1/3, 2016 at 18:2

1

Solved

I am trying to write gatling performance test where I am using the before and after blocks of the Gatling Simulation to make one-time HTTP post requests against the service. class MyTest extends S...
Phillie asked 12/8, 2020 at 23:58

3

I installed the latest IntelliJ idea, latest maven 3.6.3, Java 1.8, set the JAVA_HOME / JRE_HOME env variables. Then generated a Gatling project using mvn archetype:generate -Dfilter=gatling. In su...
Leucopoiesis asked 30/9, 2019 at 14:20

4

Solved

How could I debug or run the BasicSimulation.scala? Now I use sbt command to run: testOnly simulations:BasicSimulation Is there any other easy way to debug? Thanks.
Lindly asked 20/5, 2015 at 10:10

2

I'm trying to run my gatling project in intelliJ using Java 8. I know that the VM option 'AggressiveOpts' is deprecated in Java 11 and removed in Java 12, but I was wondering why I am getting this ...
Capitalization asked 3/7, 2020 at 12:18

2

I have a Gatling test which should do the following: create user once retrieve user's data according to specific load model. Actual load testing. delete user after when done Question: how to e...
Glorify asked 21/3, 2016 at 11:8

2

Solved

I've been running Gatling tests and I have a whole bunch of reports in the results folder. For example I have a report for 200 requests per second and one for 400 requests per second. Is there any...
Adne asked 29/8, 2014 at 19:31

© 2022 - 2024 — McMap. All rights reserved.