.
The sample code is like
Class Drum extends Simulation
{
//Section 1
.exec(postrequest1)
.pause(5 seconds)
.exec(postrequest2)
.pause(5 seconds)
.exec(postrequest3)
.pause(5 seconds)
//Section 2
.exec(postrequest4)
.pause(5 seconds)
.flush(SessionCookies)
.flush(Cache)
}
In The Section 1 , There is a Toggle Button which is Activated during Execution.
In Section 2, I have again sent a request to deactivate the same Toggle Button Using Post Request before flushing out the cookies/cache and completing the execution cycle.
Now during the Reports preperation Requests from Section 2 are also considered which is expected in Gatling Reports.
Is there a way to make sure that the Section 2's Request is not considered as part of Reports preparation ( .silentresources, I am sure will not work ) ??
Kindly Suggest.