Gatling version: 3.11.5 (must be up to date)
Gatling flavor: [ X] java kotlin scala javascript typescript
Gatling build tool: [X ] maven gradle sbt bundle npm
Hello,
I am trying to launch a Gatling script with 1 user for 1 iteration to verify the script itself.
While I am trying to verify all the requests are working, I want to run a single user(I have a feeder with 1 record) and to run through all of the requests just once and then stop.
Have been searching the community and internet without seeing the complete solution to this problem.
I have the following scenario and setup:
private ScenarioBuilder stpScenario = scenario("ChainNonHarSTPFullCurated")
.feed(singleUserName)
.exec(rqrLogon,
startNewQuote,
agencyInformation,
tellUsMore,
coverageDetails,
classCodeLookup,
operationDescription,
accordQuestions,
lossClaimsHistory,
quoteDetailAndOptions,
locations,
addContact,
ownershipAndOfficers,
addNumEmployees,
bindAutoIssue,
exitApplication
);
{
setUp(
stpScenario.injectOpen(atOnceUsers(1)).protocols(httpProtocol));
}
Timmer