Questions tagged [gatling-plugin]
59 questions
2
votes
0 answers
Gatling doesnt replace dynamic params using feed
I have the follow gatling script:
val wagerFeeder = csv("wagers.csv").random
val placeBetScenario = scenario("request")
.feed(wagerFeeder)
.exec(http("send requests")
.post(apiPlaceBet)
.headers(sentHeaders)
…

rayman
- 20,786
- 45
- 148
- 246
1
vote
1 answer
Convert Scala gatling to Java gatling
I have initially written the following code using Scala and gatling.Here I am picking the json post body that is rendered using pebble and applying some string manipulations and encryption on that output message(in method Utils.encrypt()) and…

Akhil
- 101
- 1
- 5
1
vote
1 answer
Why gatling project don't work with maven?
I am starting with gatling, I have a project with maven with the latest versions of gatling and scala, I have already checked all the parameterization within the ide I have changed versions and nothing works
here show my pom.xml

Daniel Rodríguez
- 11
- 1
1
vote
0 answers
Is there any way we can compare Gatling report stats with previous execution and compare for any significant degradation?
I have been using Gatling and have been able to cover a lot of simulations for our APIs. But I could not figure out if a given API is being degraded or not.
And the only way is to compare it with previous runs. What all options are there in Gatling…

vdrulerz
- 264
- 3
- 13
1
vote
1 answer
Error: Could not find or load main class io.gatling.app.Gatling
Getting Error: Could not find or load main class io.gatling.app.Gatling while running a jar for performance test,but works fine when I run the same code on intellij
Below are the Sample steps for the execution of code
Step:1
Created a mvn package of…

Gani
- 422
- 1
- 8
- 16
1
vote
1 answer
Why won't gatling post an auth token from a POST return body to a GET header
I tried all the suggestions I found from other examples on this site and I still cannot get my Gatling test to pass the authentication token from a POST to the following GETs. The token is taken from the return body of the POST and passed in as a…

Pix81
- 585
- 3
- 15
- 33
1
vote
1 answer
karate-gatling: report is not generated when gatling feeder and simulation workflow are failing due to a login request error
If login error occurs during a gatling simulation (without feeders) normally a gatling report is generated showing that login request is failed. The login request is called only once in the karate-config.js:…

beloyar
- 247
- 3
- 11
1
vote
1 answer
Issue with inject profile when running a performace test
I have a performance test set up using the gatling plugin. The simulation works if I use constantUsersPerSec in the load profile. If I change this to atOnceUsers then the simulation does not run. No load is generated
I have tried the other…

Pablo
- 35
- 4
1
vote
0 answers
Gatling simulation does not starts when it should
I am experience a new problem with my Gatling simulation. When I run it from IntelliJ locally, it starts and then waits for 90 seconds before starting the simulation. With TRACE, here is the console output:
16:57:07.171 [INFO ] i.g.h.e.HttpEngine…

Tech Newbie
- 51
- 1
- 5
1
vote
2 answers
Running same gradle task with different parameters in parallel?
I would like to run two gatlingRun tasks (created by gatling gradle plugin) with different parameters (on 2 environments) at the same time.
I know that new gradle provides Worker API, but this seems to be not applicable in this case.

pixel
- 24,905
- 36
- 149
- 251
0
votes
0 answers
Getting "io.netty.channel.ConnectTimeoutException" In Gatling when ramping up load with high user count
I want to test my APIs with high load. I have written load config like below:
setUp(
scn.inject(
nothingFor(2 seconds),
constantUsersPerSec(250) during (300 seconds),
rampUsersPerSec(50) to (100) during (60 seconds),
…

Rajat Singh
- 11
- 1
0
votes
0 answers
Buildship doesn't import dependency declared by plugin
After I import the project (Import -> Existing Gradle Project) or refresh the project (Gradle -> Refresh Gradle Project) the list of dependencies shown in Java Build Path -> Libraries -> Project and External Dependencies does not contain the…

Alessandro Leo
- 80
- 6
0
votes
1 answer
Gatling : Scala - Could not find or load main class Engine
I am getting error Could not find or load main class Engine while running the simulation through command line. I used below command to create the jar file.
mvn clean scala:compile assembly:single package
Folder…

perf_tester
- 1
- 1
0
votes
1 answer
how to run existing restassured tests with gatling?
I'm trying to implement gatling performance tests as a part of my project. I have existing test-cases written in RestAssured with Java and maven as a build tool. Can I re-use those and hook with Gatling. I checked the reference…

thisisdude
- 543
- 1
- 7
- 31
0
votes
0 answers
How to solve the Error with debug - logging : Cannot access 'io.gatling.gradle.JvmConfigurable.Trait.FieldHelper'?
How to solve the Error with debug - logging : Cannot access 'io.gatling.gradle.JvmConfigurable.Trait.FieldHelper'?
I need to check the log for performance execution on cursor based pagination scripts in jenkins.
but the build.gradle always shows…

Monika Rajendran
- 23
- 8