Questions tagged [maven-gatling-plugin]

16 questions
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

How to run Karate and Gatling with Gradle build system for performance testing

I'm trying to run a Karate test as a Gatling performance test. I am being use Gradle however. When trying to run under Gradle the below disaster unfolds. Appreciate any ideas what might be causing KarateAction to crash. i have added Gatling…
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
0
votes
0 answers

How to perform login steps once in Gatling scenario?

I'm using Gatling to simulate user interactions on a website, and I have a scenario where I need to perform a login step and then proceed with other requests like "Add Listing," "Update Listing," etc. However, I want to perform the login step only…
0
votes
1 answer

Gatling perf test error : Run crashed java.lang.NoSuchFieldError: DNT

I am trying to write a sample Gatling test. This test runs correctly in a different maven project but not working with an existing project where I am trying to add gatling It identifies the Simulation tests,as soon as enter option 1 or 2 it crashes…
SlickTester
  • 129
  • 1
  • 3
  • 15
0
votes
1 answer

Getting j.n.c.ClosedChannelException while running tests in Gatling Java

Getting j.n.c.ClosedChannelException while running tests in Gatling Java. Please let me know what things I should try to avoid this exception. I have tried maxConnectionsPerHost(10) and shareConnections options as well in HTTP protocol but no…
Deepak Rai
  • 171
  • 1
  • 1
  • 10
0
votes
1 answer

Observing error while running Gatling project 'object gatling is not a member of package io'

I m seeing the following error while running Engine.scala: object gatling is not a member of package io import io.gatling.app.Gatling Below is the code that is used import io.gatling.app.Gatling import…
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…
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…
0
votes
1 answer

My CSV feeder crashes after a few thousand sessions and crashes my Gatling simulation

I have a Gatling CSV feeder reading in circular mode from a 10 lines file and my simulation crashes after a little more than 6,000 sessions with the message: [ERROR] i.g.a.Gatling$ - Run crashed java.lang.IllegalStateException: Feeder crashed:…
lpacheco
  • 976
  • 1
  • 14
  • 27
0
votes
1 answer

.doIfEquals not working with gatling version 3.7.6

I have been using the gatling version 3.6.1 in my application for the performance testing. Recently I upgraded the version to 3.7.6 and observed that all the conditional statements were not working. The below doIfEquals condition is not evaluating…
0
votes
0 answers

For a user load N , Gatling reports show lesser number of request

In Kubernetes setup where Gatling execution and server side lies in same cluster we get exact number of requests for each endpoint passed on provided user in setup. However in Pre-prod setup where cluster is different for Gatling execution and…
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…
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

How to run a single test/simulation with Gatling Maven plugin?

Is it possiblt to run only a single test/simulation with Gatling Maven plugin with comand line arguments? Similar to SBT plugin testOnly.
Touko
  • 11,359
  • 16
  • 75
  • 105