I have scenario where the login and logout should be executed only ONCE and rest of the steps should run for till end of the test duration.
Example: I have 4 requests in my scenario and I am running a test with 5 users for 10 mins.
Req1:Login => 5 request only
Req2: => Should be iterated/executed till end of the test duration
Req3: => Should be iterated/executed till end of the test duration
Req4:Logout => 5 request only
Be aware that Gatling community is not entitled to replace your own work.
You’ll have to provide what you tried and what you successfully did and what is the step you miss.
To learn how to create your first simulation, you can participate in our Gatling Academy.