Questions tagged [scala-gatling]
426 questions
-1
votes
1 answer
Unable to print line or reach break point in Gatling 3.0 simulation
So I know we cannot perform DSL operations in before/after of a Gatling simulation, but in 3.0 it does not appear to work at all. If I run the simulation I don't see a print line and I do not reach a break point on the prints. I am using Intellij. I…

adambsg
- 131
- 2
- 9
-1
votes
2 answers
Gatling Scala "not found: type ExtraInfo" error found when running performance test
I am running into an issue where I'm getting an error when I am trying to develop a method to generate a simulation.log whenever I receive a status other than 200 and receive "KO". I was wondering if there is any solution in solving this…

kav
- 165
- 4
- 12
-1
votes
2 answers
Call a function only if a check is success?
I wanted to write a session attribute to a file only if the response returned the string 'Success'.
I'm trying to do this:
.check(substring("success").onSuccess(writeThisToFile())
I see that this is not valid as the IDE says. Is…

M S Puranik
- 35
- 7
-1
votes
1 answer
Create Bulk XML from template for POST request using gatling/scala
I want to send bulk xml to my soap request body. I want to know is there any way to generate them dynamically through Gatling/Scala
This is how I am doing
private val request=exec( http("Post request to create")
.post("/endPoint")
…

Deepu Nair
- 165
- 5
- 15
-2
votes
1 answer
how to disable ssl cert check in gatling project?
I have a code as below
class BasicSimulation extends Simulation {
val feeder = csv("PerfData.csv").random
val httpProtocol = http
.baseUrl(System.getProperty("ServiceUrl"))
System.setProperty("gatling.http.ahc.useOpenSsl", "false");
…