Questions tagged [gatling-plugin]
59 questions
0
votes
1 answer
mvn gatling:test throws java.lang.StackOverflowError error
I just upgraded my Gatling from 3.3 to version 3.7.6. Now when I try to execute mvn gatling:test or ./mvnw clean gatling:test -Dgatling.simulationClass==ai.slit.brb.gatling.simulations.ActSimulation, I get a StackOverflow Error.
I have tried most of…

Denis Kisina
- 350
- 4
- 19
0
votes
1 answer
Gatling VS Postman: Big difference in response time
I am trying to measure the performance of a single REST endpoint (GET) with Gatling, with a very simple setup like this one:
val httpProtocol: HttpProtocolBuilder = http
.baseUrl("https://domain:8085")
.acceptHeader("*/*");
val scn =
…

Mr.Eddart
- 10,050
- 13
- 49
- 77
0
votes
1 answer
Getting Wrong Percentile response time for Gatling Graphite Integration
I read gatling official blog and understood that we cannot get 95th,99th percentile "All aggregations will result in computing averages on percentiles and will inherently be broken". I dint understand one thing why we are not getting simple response…

Perf2017
- 29
- 5
0
votes
0 answers
Use stored values in another scenerio : Gatling
I want to store returned values from scenerio1 to list and use the same stored values in another scenerio .
I tried to do like below . but in get scenerio this gives error id not found . I also noticed that feeder is initialized before scenerio…

santosh jk
- 111
- 1
- 11
0
votes
1 answer
Passing Multiple Headers in Gatling
Im new to Gatling tool, trying to pass multiple header value from another file but im facing error while compiling.
Code:
val header0 = List(Map(
"Ocp-Apim-Subscription-Key" -> TestParameters.Keyvalue,
"UserId" -> TestParameters.UserID
…
0
votes
1 answer
Gatling scala gradle, HowTo set requestTimeout
I'm using gatling gradle plugin and I'm trying to increase default timeout.
https://gatling.io/docs/current/extensions/gradle_plugin/
This doesn't work.
I constantly get
> i.g.h.c.i.RequestTimeoutException: Request timeout to localhos 47…

Capacytron
- 3,425
- 6
- 47
- 80
0
votes
1 answer
Upload dynamic CSV file via Gatling
I recently took some interest in learning some load testing tools and Gatling seemed a very good choice. The only drawback related to other tools is the lack of documentation/examples for the upload of files with dynamic values.
For example, to…

Ricardo Correia
- 31
- 1
- 7
0
votes
1 answer
Getting j.n.SocketException: Connection reset by peer when I use 1000 open connection
I am using mac to test some apis using gatling. when I test 1000 around 450 of the connections are refused and anf this is really affecting my tests.Here is what I get
> j.n.SocketException: Connection reset by peer
and here is my scenario
def…

Learner
- 1,686
- 4
- 19
- 38
0
votes
1 answer
Gatling Gradle plugin not including transitive dependencies
I am using the official Gatling Gradle plugin in my Scala project and I am seeing an issue where dependencies included like
dependencies {
gatling "LibraryA"
}
are not including transitive dependencies. That is, I have a Gatling simulation…

Logan
- 1,575
- 1
- 17
- 26
0
votes
1 answer
Sse stream crashed io.gatling.http.action.sse.SseInvalidContentTypeException: Server returned http response with content-type null
I am trying to set up a load test scenario with Gatling;
package mypackage
import io.gatling.core.scenario.Simulation
import io.gatling.core.Predef._
import io.gatling.http.Predef._
import scala.concurrent.duration.DurationInt
class My_LoadTest…

Ahsan
- 1
- 6
0
votes
1 answer
Gatling graph : Inject 100users/seconds with a peak of 500users evey 30 seconds
I want to inject
100 users/second with a peak of 500 users every 30 seconds
setup(scn.inject(rampUsers(500) over (30 seconds),
ConstantUsersPerSec(100) during (10 minutes)))
But using this im getting 60,500 users whereas it should be 60000 with a…

NobesInd
- 77
- 6
0
votes
2 answers
Galting scenerio : 100 users/seconds for 10mins with a peak of 500users/seconds for every 30seconds
I want to do performance test for below scenario:
100 users/seconds for 10mins with a peak of 500users/seconds for every 30seconds
I am using throttling to achieve this
scn.inject(constantUserPersecond(100) during (10…

NobesInd
- 77
- 6
0
votes
1 answer
Gatlin tests run against a IIS server expecting integrated security fail with 401
As the title suggests. We are using Gatling 3.3.1 and attempting to write tests against a service running on IIS that is expecting windows credentials to be sent (Integrated Security). When the URL being tested is run in a browser everything is fine…

glose
- 507
- 4
- 12
0
votes
3 answers
Can Jenkins Gatling plugin show the different paths
Is there a way to get the gatling requests in the Gatling Jenkins trend graph? Our build with Jenkins Gatling plugin only shows the trend for the global information in the graph and we want to see the trend per request type as this gives us much…

Andre
- 1,740
- 2
- 13
- 15
0
votes
2 answers
java.lang.NoClassDefFoundError: com.trueaccord.scalapb.GeneratedEnum with Gatling Maven Plugin
Using the latest OpenJDK 11.0.7 with the Gatling Maven Plugin is resulting in this compilation crash. I tried deleting the local Maven repository folders for Gatling, scala-lang, and scala-sbt and re-running a clean install. Below I've pasted my…

GabeV
- 859
- 8
- 21