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 sbt assembly- jar file cannot created?

I am using gatling tool for performance testing.My gatling code is running perfectly. i am using intellij IDEA for my project. I am trying to create a jar file. It cannot created. i think this is sbt problem.please someone correct my sb My build.sbt…
kesavan
  • 335
  • 5
  • 12
0
votes
1 answer

Gatling Runtime Exception from Jenkins :java.io.IOException .. An existing connection was forcibly closed by the remote host

I Get the below exception while I run the Gatling(version 2.2.5) Test through a Jenkins Job at 5 TPS - rampUsersPerSec(0.1) to 5 during(5 minutes),constantUsersPerSec(5) during(15 minutes), the exception starts after 15 mins of test run. However,…
Alferd Nobel
  • 3,185
  • 2
  • 30
  • 35
0
votes
1 answer

Parse the response string of a request into another method in gatling

I'm trying to parse a response header value (which is a string) of one request into another method or function in gatling. Here is what I tried val scn = scenario("DeviceAuth") .feed(csvFeeeder) .exec(http("Request1") .post("endpoint") …
krish
  • 349
  • 3
  • 17
0
votes
1 answer

save jdbc response and iterate to next request

I am using Gatling ver. 2.1.7. I want to iterate IDs which I got from sql query. Below SQL statement will fetch 100 IDs, I want to iterate those 100 IDs. How do I do that? here is the code, val dbStatement = System.getProperty("dbStatement",…
Peter
  • 855
  • 2
  • 15
  • 35
0
votes
1 answer

Gatling not able to use my Random Data Generator

I wrote this simple test in Gatling val createUser = http("create user") .post("form/submit") .body(StringBody(RequestBuilder.createRandomUser())).asJSON .check(status.is(200)) setUp( scn.inject( atOnceUsers(25), rampUsers(10)…
Knows Not Much
  • 30,395
  • 60
  • 197
  • 373
0
votes
1 answer

How to import or use AWS SDK in Gatling

I'm trying to do performance testing of a service which hits a couple of AWS endpoints. We have a JMeter script to perform that testing. But recently we came to know Gatling can scale more. So I'm trying to convert my JMeter script to Gatling…
krish
  • 349
  • 3
  • 17
0
votes
1 answer

How do I extract a sequence in scala

I'm new to Scala, and I'm struggling with extracting common parts of my gatling tests. exec( http("Open Page") .get("/page") ).exec( http("GET from REST") .get("/") .disableFollowRedirect .resources( …
klubi
  • 1,373
  • 1
  • 14
  • 25
0
votes
0 answers

JSON Error | Gatling

First of all i have admit that am novice in using gatling. While i use Gatling to test my scenario, i get the below error: Select simulation id (default is 'vertexperformance'). Accepted characters are a-z, A-Z, 0-9, - and _ v7 Select run…
Sunil
  • 553
  • 1
  • 12
  • 30
0
votes
1 answer

How does load and performance testing tools work behind the scenes?

I recently used gatling.io for load testing my api server. During testing there were options to set for example, number of concurrent users per second. What I do not understand is how these tools are able to generate that load. How are they able to…
Vipul Jain
  • 386
  • 3
  • 14
0
votes
2 answers

How to iterate over json response array

I have a question about Gatling. I need to get the following response: [ { "id": 1, "name": "Jack" }, { "id": 2, "name": "John" } ] grab those ids, iterate over them and make a new request for each of them. So far I have this: .exec( …
malutki5200
  • 1,092
  • 7
  • 15
0
votes
1 answer

Are the Gatling `Create new` Tests, that have another object as **required** supposed to fail in jhipster?

Are the Create new Gatling tests that have another object as required supposed to fail ? Or did I broke something ? Is it a bug ? For example, this Test on docField fails (doctTemplate --many--> docFields), I'm guessing that it fails because…
Ernest
  • 962
  • 3
  • 12
  • 28
0
votes
2 answers

How to do load test in gatling with timers?

I am newbie to the Gatling load test tool. I want to use the Timers(ex. Gaussian random timer, Uniform random timer) in the scenario like JMeter Timers. Is any way to use it?. Thanks in advance.
kesavan
  • 335
  • 5
  • 12
0
votes
1 answer

Gatling Integration with JENKINS without using MAVEN

Developed few scripts using GATLING tool Able to execute those scripts as a standalone basis Execution done through GATLING provided .bat file Triggering of the batch file will ask for user inputs during run time to select which scenario to…
0
votes
1 answer

Why I am getting Value is Null while executing two scenarios in Gatling?

I have two scenarios in my script. 1st "getAssets" scenario will fetch all asset IDs and save it in a list, 2nd scenario "fetchMetadata" will iterate those IDs. I have to exeecute "getAssets" scenario only once to fetch all the IDs, and then…
Peter
  • 855
  • 2
  • 15
  • 35
0
votes
0 answers

How to make more than 1000 requests per second through Gatling?

I am using the following setup which generates more than 3000 rps. Requirement is to test with up to 4k rps. The setup that I am using is: setUp(scn.inject(constantUsersPerSec(8) during(10 minutes)).protocols(httpConf)).throttle( reachRps(1000)…
Pritam Banerjee
  • 17,953
  • 10
  • 93
  • 108