Questions tagged [gatling]

Gatling is an open-source load testing framework based on Scala, Akka and Netty.

Gatling is an open-source stress tool with:

  • High performances
  • Simple concepts
  • A DSL to describe scenarios
  • HTTP support
  • A scenario recorder
  • Meaningful reports

Gatling is built upon :

  • Async Http Client and Netty for non-blocking HTTP;
  • Akka for actions (requests, pauses, assertions, etc...) modeling and orchestration;
  • Scala interpreter for scripting.

Links:

1684 questions
0
votes
1 answer

Gatling for functional tests

I am planning to use Gatling for functional tests. I have followed this link: https://gatling.io/docs/2.3/general/functional_specs/ When I extend 'GatlingHttpFunSpec', can some one give me an example of how to access session variables?
0
votes
1 answer

Setup Gatling performance tests in same project as production code

I would like to move our performance Gatling tests from a separate project (where they are now) into the same project as our source code and normal tests. Ideally, I would like to have the following structure: root-project | |--src | …
Alex Ntousias
  • 8,962
  • 8
  • 39
  • 47
0
votes
1 answer

How can I write in InfluxDB from Gatling?

My question was already asked but I didn't succeed to solve my issue. I don't succeed to send my data from Gatling in real time to InfluxDB. I'm on Windows 10. Gatling Version: 2.3.0 (the last one). InfluxDB version: 1.3.5 (the last is 1.3.6). My…
Anthony
  • 39
  • 1
  • 7
0
votes
0 answers

How import a object or Class in Scala file from another Scala file?

I have two Scala files and i need to import from second Scala file a class, but i dont know In the first scala file i have a requests, and in especific request i want to call a object from second file in this object i have a authenticate…
Alan
  • 69
  • 1
  • 1
  • 7
0
votes
1 answer

Set Gatling report name in Jenkins pipeline througt taurus

I'm writing a declarative jenkins pipeline and I'm facing problems with gatling reports: Mean response time trend is not correct, Is there a way to replace following cloud of dots by a curve ? Extracts from my Jenkinsfile: stage('perf') { steps…
Nelson G.
  • 5,145
  • 4
  • 43
  • 54
0
votes
1 answer

Gatling test - exceeds JVM code size limits. Method 's code too large

I have a huge gatling test scrip from recording a big application. When I try to run it, I am getting an error, Could not write class AssociateAll because it exceeds JVM code size limits. Method 's code too large! I am trying to go around it.…
Bala
  • 749
  • 11
  • 27
0
votes
0 answers

Error error while modifying scala file Gatling

i have a error when i try modifyng scala file. When i want to insert a new scripts, the original script.It does not appear to me to execute in Gatling.bat or only it executes the previous requests to which I am modifying Example i need to insert new…
Alan
  • 69
  • 1
  • 1
  • 7
0
votes
1 answer

I cannot conect with Web Service from CSV File

I have to connect with a web a web service from CSV file, in this file i have usernames and passwords. I can read the csv file, but i can not connect. Im doing a stress test, i need to simulate that several users do a certain action.Im using…
Alan
  • 69
  • 1
  • 1
  • 7
0
votes
1 answer

AWS RDS (Postgres): max connections

I am working on tuning the AWS RDS (Postgres) performance. With the current setting (default), db.t2.micro max_connections: {DBInstanceClassMemory/31457280} // => about 34 connections I ran performance test using Gatling, with 100 concurrent…
Phong Vu
  • 2,726
  • 6
  • 24
  • 52
0
votes
1 answer

Scala Gatling POST after GET doesn't work

I learing garling framework for load testing and I have problem with send POST request with json body after GET redirect, second request return status 400. Part with sending POST without GET work properly. Anyone have idea why it doesn't work? var…
Mateusz Sobczak
  • 1,551
  • 8
  • 33
  • 67
0
votes
1 answer

how can we use gatling-mqtt plugin in a maven project for load testing

I have a java maven project and i want to be able to test the performance of our mqtt broker using gatling. I understand that gatling directly doesn't support mqtt protocol. I came across gatling-mqtt plugin in github. I'm not sure how i can use…
Harinya
  • 181
  • 1
  • 4
  • 18
0
votes
1 answer

How to pass the soap XML in a Gatling script

I'm Trying to create a Web services script in Gatling , but i'm not sure how do i pass the XML soap in the script. From the Gatling documentation learned that we need to send the xml through .body(StringBody(), but mot sure of the format. This is…
Ohm_Code
  • 31
  • 2
  • 7
0
votes
1 answer

Load testing Rest services

I am trying to figure out a strategy for load testing of my Rest services. These services processes request asynchronously. They took a dumpId and dumpUrl in query parameter and return Status 200 immediately. And then process data asynchronously and…
0
votes
1 answer

Pass url parameters through JSON for gatling performance test

I have a JSON like this: [ { "eventType": "customEvent", "deviceID": "e190c022-f7b1-4b34-b5ba-a5ec249c6dc9", "platform": "android", "appVer": "1.0.0" }, { "eventType": "customEvent2", "deviceID":…
SergioLeone
  • 734
  • 1
  • 10
  • 24
0
votes
0 answers

In Gatling generate POST body dynamically based on a string input

I am very new to Gatling and Scala. I am trying to dynamically generate an XML file that will be used as the body of a request. The content of the XML file depends on a string value obtained as an environment variable or from the properties file. …