gatling Questions

1

I would like to get a Random URL on http request for Gatling My scenario is defined like this: import io.gatling.core.Predef._ import io.gatling.http.Predef._ import scala.concurrent.duration._ i...
Fraternity asked 27/8, 2015 at 21:37

1

Solved

One of gatling get request is giving multiple string values and I am saving them using saveAs like this: val scn = scenario("ReadLogs") .exec(http("logEvent") .get("""/xyz/abc""") .check(jsonPa...
Bijugate asked 27/8, 2015 at 13:6

2

Solved

I want to be able to POST a SOAP request with a configurable value found in my Gatling source. Therefore, I have the following XML ELFileBody stored in the file "request.xml" ... <rec:cardNumb...
Conjure asked 4/8, 2015 at 6:49

2

Solved

Running gradlew gatlingRun in windows fails with below stacktrace, on a default app generated with below config in Jhipster { "generator-jhipster": { "baseName": "jhipster", "packageName": "co...
Ouphe asked 23/5, 2015 at 10:19

3

Solved

I want to configure the base url of my gatling simulation in the configuration file. So that I can easy switch between test and live system. I works fine when I configure it in the simulation-scal...
Dade asked 1/4, 2015 at 8:15

1

Solved

In a gatling test, I am trying to verify whether the response for a request is either 204 or 404. val scn = scenario("Scenario A").exec(httpRequest .check(status.is(204))) where httpRequest is ...
Fertilization asked 15/5, 2015 at 15:35

1

While doing a test in gatling I get the following error java.io.IOException: Remotely closed which is expected (server cuts connection). How do I mark the test success or check for that exceptio...
Bezant asked 6/5, 2015 at 13:50

1

Solved

I am working on a Gatling simulation. For the life of me, I cannot get my code to reach 10000 requests per second. I have read the documentation and I keep messing with different methods and whatno...
Lizzielizzy asked 22/1, 2015 at 1:12

1

I am trying to parse a json response returned to gatling by the server. My response from server is: SessionAttribute( Session( GetServices, 3491823964710285818-0, Map( gatling.http.cache.eta...
Extraditable asked 16/12, 2014 at 22:14

1

Solved

I'm trying to use two gatling feeders for producing http post request data : First file contains some fields. One of them is a counter. With this value I'd like to add to my post body as far as li...
Tenement asked 9/12, 2014 at 14:53

2

Solved

I want to do some funky closure-like stuff. I want a method to return an anonymous object whose guts make reference to the parameters of the method. Here is the code that I wrote that illustrates m...
Semifluid asked 7/10, 2014 at 23:26

2

Solved

I am trying to run a simple performance-test through Gatling. I use maven to run the process. In order to easely pick up when changes in the code breaks my gatling-tests I want the maven-build to f...
Lumbard asked 4/9, 2014 at 11:42

1

Solved

I have a block of code which needs to loop through a JSON array which is obtained from response of a REST service. (Full gist available here.) .exec(http("Request_1") .post("/endPoint") .headers...
Venom asked 13/8, 2014 at 14:49

1

Solved

Currently I have a small suite of integration tests running against my web-server which makes a request and asserts some assumptions on what the responses should be. These are written in Ruby gener...
Mullis asked 21/3, 2014 at 15:56

1

Solved

I'm trying to use Gatling to test my API but I've got a problem. I'm testing for now the login/logout. At the login, the user got a token, that is used for logout. When I use the recorder, it keep ...
Farfetched asked 19/4, 2013 at 10:32

2

Solved

I'd like to use Gatling for REST performance and scalability web service testing. I'm currently using JMeter for this as I wasn't aware of gatling when I started this project. Gatling would integra...
Hartmunn asked 21/12, 2012 at 15:26

© 2022 - 2024 — McMap. All rights reserved.