Hello everyone could someone help me ?? how can I convert the below scale code to the Gatling 3.7 java? values: testConfig.vUsers == 5 testConfig.rampup == testConfig.vUsers * 4 seconds = 20 seconds setUp( Demo_Scenario.inject(rampUsers(testConfig.vUsers) during (testConfig.rampup)) ).throttle( reachRps(109).in(436 seconds), holdFor(64 minutes) ).protocols(httpProtocol) .assertions( forAll.responseTime.mean.lte(200), forAll.responseTime.percentile3.lte(200), forAll.successfulRequests.percent.gte(95) ) } and this one: setUp( Demo_scenario.inject(rampUsers(testConfig.vUsers) during (testConfig.rampup)) ).protocols(httpProtocol) .assertions( forAll.responseTime.mean.lte(200), forAll.responseTime.percentile3.lte(200), forAll.successfulRequests.percent.gte(95) ) } and finally, how can I set up the duration for the full test let's say I want the test still running for 1 h ?? thanks
Thank you for the content. May I suggest buying this guy a mic ?
The best sound for presentation. Thanks!
Thank you for the presentation. Now I have understood how to run java code on IntelliJ.
The API documentation on your website is awesome.
Thank you team Gatling for the presentation!!
Hello everyone
could someone help me ??
how can I convert the below scale code to the Gatling 3.7 java?
values:
testConfig.vUsers == 5
testConfig.rampup == testConfig.vUsers * 4 seconds = 20 seconds
setUp(
Demo_Scenario.inject(rampUsers(testConfig.vUsers) during (testConfig.rampup))
).throttle(
reachRps(109).in(436 seconds),
holdFor(64 minutes)
).protocols(httpProtocol)
.assertions(
forAll.responseTime.mean.lte(200),
forAll.responseTime.percentile3.lte(200),
forAll.successfulRequests.percent.gte(95)
)
}
and this one:
setUp(
Demo_scenario.inject(rampUsers(testConfig.vUsers) during (testConfig.rampup))
).protocols(httpProtocol)
.assertions(
forAll.responseTime.mean.lte(200),
forAll.responseTime.percentile3.lte(200),
forAll.successfulRequests.percent.gte(95)
)
}
and finally, how can I set up the duration for the full test let's say I want the test still running for 1 h ??
thanks