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...
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...
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...
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...
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 ...
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...
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...
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...
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...
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...
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...
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.