gatling Questions

2

Solved

I'm running into an issue with the POST of a pdf file. After recording a HAR file in Gatling 2.1.7, here's what I have: .exec(http("request_10") .post("/api/data/files?revisionId=e9af2c93-d8df-44...
Gorizia asked 24/3, 2016 at 15:19

0

I've tried different approaches that I've found on Gatling.io, but my problem still persists. There's an API which returns a short response in JSON format when I send a GET request. GET request:...
Shanel asked 16/1, 2018 at 9:53

0

I have this script: .foreach("${list}", "item") { exec(http("Req 1") .post("/path/to/service/one") .formParam("param1", "${item}") .formParam("param2", "somestring") .formParam("param3", "${p...
Malherbe asked 4/10, 2017 at 11:36

1

Solved

I using gatling ver 2.3.0 in scala. Is it possible after send request get a url from redirect to variable? e.g. I request for 192.168.1.30:8080/ and this link redirect me to 192.168.1.30:8080/token...
Andradite asked 13/9, 2017 at 9:38

1

I am using gatling for load performance testing on a brand new API. It seems fairly easy and well documented but I am facing an issue as simple as POST a request with Content-Type set to 'applicati...
Maim asked 8/9, 2017 at 14:15

1

Solved

When running simulations with Gatling I get the following exceptions: j.n.ConnectException: Address already in use: no further information Does this occur when the server tested against fails ...
Takishatakken asked 30/8, 2017 at 20:17

1

Solved

I have my Gatling scenario set up and now I want to configure a simulation with fixed number of users for specific period of time - number of users should initially be increased gradually to specif...
Sendoff asked 8/11, 2016 at 21:20

2

I am trying to write a Gatling script where I read a starting number from a CSV file and loop through, say 10 times. In each iteration, I want to increment the value of the parameter. It looks lik...
Jana asked 11/6, 2014 at 21:42

2

Solved

note: I am new to gatling and know almost nothing about Scala. I am starting the process of converting my load tests from Jmeter to gatling. And I am stuck on how to organize the code base. All t...
Yclept asked 31/12, 2015 at 4:3

2

When I run Gatling from my command prompt I get a list of simulations like this: Choose a simulation number: 1,2,3,4 When I type 3 third simulation will run but this sequence is auto-generated.Su...
Charger asked 30/6, 2016 at 12:3

2

Solved

I am new to gatling and scala, so this is definitely a n00b question but I am struggling to figure this out. I found this great blog post to be able to use a UUID feeder http://www.andrewgorton.uk/...
Flotsam asked 22/10, 2015 at 1:25

1

Solved

Here is my test scenario on Gatling: val createTemplatesScenario = scenario("Template creation") .feed(userFeeder) .exec(doLogin) // populates access token in the session .exec(doListProviders)...
Birdie asked 7/3, 2017 at 12:38

1

Solved

I am using Gatling plugin in my spring-boot application to do performance tests of the REST APIs exposed as part of the application hence need my application to be up before the gatling tests runs....
Horodko asked 5/2, 2017 at 14:50

2

I would like to run Gatling test from code. How to do it? Tutorials says only about command line and sbt. Context: I would like to extend tests. In background I have custom socket communication w...
Diminution asked 26/6, 2015 at 7:51

2

Solved

I'm using Docker (version 1.12.2, build bb80604) to setup a simple image/container with Gatling (Load Testing tool) + NodeJS. So, I pulled this Docker/Gatling base image and created my own Dockerfi...
Gschu asked 18/12, 2016 at 10:41

1

Solved

I need to write Gatling scenario that will mimic real users interaction. It's supposed to issue some requests occasionally, e.g. 10 per hour per user (total 20 users). From what I see in the docs,...
Anadem asked 3/11, 2016 at 14:15

1

Solved

I have a Gatling JSON objects of array. The object contains error messages e.g. "error": [ { "errorCode": "111", "errorMessage": "very dynamic error :- at [Source: java.io.PushbackInputStream@5...
Wandie asked 20/9, 2016 at 2:9

1

Solved

New to Gatling world but an experienced Loadrunner user. I created a sample simulation to run two scenarios, each with 10 users and want to run it for 10 minutes. Below is what I have in my setUp f...
Decurrent asked 2/8, 2016 at 2:19

1

In the following code, I am getting a token in the first Gatling request, saving it in a variable named auth. However, when I try to use it in the second request, it is sending empty string in plac...
Unorthodox asked 13/6, 2016 at 10:6

1

Solved

The below is giving me a compilation error setUp( scn.inject( constantUsersPerSec(10) during(30 seconds) ) ) Getting below compilation error in IDE Cannot resolve symbol seconds. Am run...
Amandy asked 8/4, 2016 at 10:33

2

Solved

I want to use something like Cucumber JVM to drive performance tests written for Gatling. Ideally the Cucumber features would somehow build a scenario dynamically - probably reusing predefined cha...
Ammeter asked 12/5, 2015 at 14:56

2

I'm baking a Docker image which runs a Maven task at runtime. It looks kind of like this: ADD pom.xml /srv ADD src /srv/src WORKDIR /srv RUN mvn dependencies:go-offline scala:testCompile At run...
Sruti asked 28/10, 2015 at 1:8

1

Solved

How can I create a simple feeder in Gatling without using a csv file? I have tried scripts from the Gatling documentation. I have seen one example in the documentation val random = new util.Rand...
Alveolus asked 11/2, 2016 at 19:55

2

Solved

In my long, but simple awesome Gatling simulation, I have few responses that ended with error 500. Is it possible to tell gatling to collect these error responses messages in a file during the simu...
Silva asked 5/2, 2015 at 9:3

2

Solved

This is a followup to this question. I'm using the same configuration. However, I'm trying to use an internal website through a proxy server. I'm not sure if the following the correct way to config...

© 2022 - 2024 — McMap. All rights reserved.