You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}
and also tried
setUp(scn.inject(rampUsers(200) over (100 seconds), during (560 seconds))).protocols(httpProtocol)
but none of above option works however if I remove the duration clause and just it with 100 seconds ramp test runs fine.
I searched like entire internet but didn't found any hint or solution on this.
Also I am using csv feeder for username password and kept the data extraction circular for CSV still I am getting error after sometime into test saying "no attribute found for username"
CSV file looks like this, I don't know why gatling has so weirdo format of csv rather than having it simple like jmeter.
username,passwordj2ee,j2eej2ee,j2eej2ee,j2eej2ee,j2eej2ee,j2eej2ee,j2eej2ee,j2eej2ee,j2eej2ee,j2ee
I have kept the csv like below first but it didn't worked then I found above sample somewhere which I referred.
username,password
j2ee,j2ee
My code is
import io.gatling.core.Predef._
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._
import scala.concurrent.duration._
class LoginRecordedSimulation extends Simulation {
I am sorry but you posted the issue to wrong project. This project is clj-gatling which is a load testing tool for writing tests in Clojure not Scala. Probably you should post your issue to this one: https://github.com/gatling/gatling
I have tried .during (x seconds) {
}
and also tried
setUp(scn.inject(rampUsers(200) over (100 seconds), during (560 seconds))).protocols(httpProtocol)
but none of above option works however if I remove the duration clause and just it with 100 seconds ramp test runs fine.
I searched like entire internet but didn't found any hint or solution on this.
Also I am using csv feeder for username password and kept the data extraction circular for CSV still I am getting error after sometime into test saying "no attribute found for username"
CSV file looks like this, I don't know why gatling has so weirdo format of csv rather than having it simple like jmeter.
username,passwordj2ee,j2eej2ee,j2eej2ee,j2eej2ee,j2eej2ee,j2eej2ee,j2eej2ee,j2eej2ee,j2eej2ee,j2ee
I have kept the csv like below first but it didn't worked then I found above sample somewhere which I referred.
username,password
j2ee,j2ee
My code is
import io.gatling.core.Predef._
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._
import scala.concurrent.duration._
class LoginRecordedSimulation extends Simulation {
}
The text was updated successfully, but these errors were encountered: