Questions tagged [gatling-plugin]

59 questions
0
votes
1 answer

Based on Gatling report, how to make sure 100 requests are processed in less than 1 second

how can I check my requirement of 100 requests are processed in less than 1 second in my gatling3 report. I ran this using jenkins. my simulation looks like as below rampConcurrentUsers(1) to (100) during (161 second), constantConcurrentUsers(100)…
CNKR
  • 568
  • 5
  • 19
0
votes
1 answer

Gatling Build from Frontline Exception

Gatling Build is failing with exception: [ERROR] Failed to execute goal io.gatling.frontline:frontline-maven-plugin:1.0.3:package (default) on project msg-service-prf: Execution default of goal …
venkat
  • 117
  • 8
0
votes
1 answer

Gatling Scala:Unable to send auth token to the method using session variable

It seems session variable used in below code is not able to pass the Token Type --> Bearer and access_token using session variable,here is the full code ,is it possible with you to have a look ,here is code provided ..no worries all tokens are dummy…
mark liberhman
  • 101
  • 1
  • 11
0
votes
1 answer

CSV Feeders for gatling 3

I am using Gatling 3. I have a csv feeder with just one column titled accountIds. I need to pass this in the body of my POST request as JSON. I have tried a lot of different syntax but nothing seems to be working. I can also not print what is…
0
votes
1 answer

How we can execute two post request simultaneously

how i can execute two post request simultaneously in Gatling as i am unable to execute two post request simultaneously
0
votes
0 answers

Gatling Sequential scenarios

I'm trying to use gatling and I have a problem. 1- I have one scenario that exec POST request for getting a list of tokens and save all tokens in csv 2- I create another scenario that exec GET request but I need a token for auth each request My…
M.Hol
  • 365
  • 2
  • 4
  • 15
0
votes
2 answers

Jenkins job failure when running a freestyle maven-gatling project

I have created a gatling maven based application; wrote some actions, scenario and able to successfully run them locally in IDE using $mvn gatling:test to build project and view the gatling reports. Now I'm trying to have a jenkins job configured…
anonymous-explorer
  • 365
  • 1
  • 12
  • 26
0
votes
1 answer

Can we stop the perf test in gatling automatically when we reach a certain limit of 504s?

Is it possible to stop the performance tests automatically when you reach a certain amount of 504s instead of running the tests fully? Is there any options available in Gatling to achieve this?
0
votes
1 answer

Summing the values of multiple Vectors in the session

In my gatling scenario, I need to check the session for a few entries that will be Vectors of numbers. I can get the Vectors if present, but when I attempt to add them using .sum I get a ClassCastException stating that java.lang.String can't be cast…
James Warr
  • 2,552
  • 2
  • 7
  • 20
0
votes
1 answer

gatling Performance tests giving 255 exit code when I run it on Linux machine

I am facing strange issue. Whenever I try to run gatling performance-test cases on Linux, it gives me 255 error code. As follow- [ERROR] Failed to execute goal io.gatling:gatling-maven-plugin:2.2.4:integration-test (default) on project XYZ: Gatling…
0
votes
2 answers

Need to pass the arguments from the command line while running gatling.sh in Gatling Performance testing

I have a scenario where while executing gatling. sh, I need to pass the authorization from the terminal instead of going and changing the situation.scala file always, because authorization is specified only for particular and once a user logs out we…
Veds
  • 11
  • 1
  • 6
0
votes
0 answers

How to record requests from client in Gatling

I have a Java desktop application. I want to know if there is a way to record server calls (GET & POST requests) using Gatling where requests will be generated from desktop application. I am trying to use Gatling for load testing.
MIM
  • 499
  • 3
  • 11
  • 30
-1
votes
1 answer

How to run gatling from multiple git repositories

i am working on a gatling project. i need to configure gatling on jenkins to run read tests from different repositories. by examples: I have 2 projects on git, project A and project B which contain performance tests. i want to create a gatling…
-1
votes
1 answer

Create Bulk XML from template for POST request using gatling/scala

I want to send bulk xml to my soap request body. I want to know is there any way to generate them dynamically through Gatling/Scala This is how I am doing private val request=exec( http("Post request to create") .post("/endPoint") …
Deepu Nair
  • 165
  • 5
  • 15
1 2 3
4