Gatling: exclude preparation request from reports

Here is my test script in Gatling:

val createTemplatesScenario = scenario("Template creation")
  .feed(userFeeder)
  .exec(doLogin) // populates access token in the session
  .exec(doListProviders)
  .exec(doCreateTemplate)
    ...
  .exec(doDeleteTemplate)

And I want to exclude the Login request from the reports, because sometimes it can take too much time in our system and affects all indicators:

Gatling Report

Is there a way to "prepare" a test scenario so that only the necessary actions are taken into account?

+4
source share
1 answer

You can use query groups .

Add all your queries to the group except Log in .

As mentioned in the documentation :

, : node, . . , gatling.conf.

node - , node .

+2

Source: https://habr.com/ru/post/1671702/


All Articles